All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
fcl::Triangle Class Reference

Triangle with 3 indices for points. More...

#include <data_types.h>

List of all members.

Public Member Functions

std::size_t operator[] (int i) const
 the triangle index
std::size_t & operator[] (int i)
void set (std::size_t p1, std::size_t p2, std::size_t p3)
 Set the vertex indices of the triangle.
 Triangle ()
 Default constructor.
 Triangle (std::size_t p1, std::size_t p2, std::size_t p3)
 Create a triangle with given vertex indices.

Private Attributes

std::size_t vids [3]
 indices for each vertex of triangle

Detailed Description

Triangle with 3 indices for points.

Definition at line 53 of file data_types.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 60 of file data_types.h.

fcl::Triangle::Triangle ( std::size_t  p1,
std::size_t  p2,
std::size_t  p3 
) [inline]

Create a triangle with given vertex indices.

Definition at line 63 of file data_types.h.


Member Function Documentation

std::size_t fcl::Triangle::operator[] ( int  i) const [inline]

the triangle index

Definition at line 75 of file data_types.h.

std::size_t& fcl::Triangle::operator[] ( int  i) [inline]

Definition at line 77 of file data_types.h.

void fcl::Triangle::set ( std::size_t  p1,
std::size_t  p2,
std::size_t  p3 
) [inline]

Set the vertex indices of the triangle.

Definition at line 69 of file data_types.h.


Member Data Documentation

std::size_t fcl::Triangle::vids[3] [private]

indices for each vertex of triangle

Definition at line 56 of file data_types.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:32