iso::geom::Triangle Class Reference

#include <iso_geom_triangle.h>

Inherits iso::geom::Geometry.

Inheritance diagram for iso::geom::Triangle:

Inheritance graph
[legend]
Collaboration diagram for iso::geom::Triangle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Triangle ()
 Triangle (const math::Vector< real > &pV1, const math::Vector< real > &pV2, const math::Vector< real > &pV3)
 Triangle (const Triangle &pTriangle)
 ~Triangle ()
virtual void calcMinMaxPos ()
 calculate minimum and maximum positions
math::Vector< real > & v0 ()
math::Vector< real > & v1 ()
math::Vector< real > & v2 ()
const math::Vector< real > & v0 () const
const math::Vector< real > & v1 () const
const math::Vector< real > & v2 () const
void set (unsigned int pVIndex, real pX, real pY, real pZ)
void set (unsigned int pVIndex, const math::Vector< real > &pV)
void set (const math::Vector< real > &pV1, const math::Vector< real > &pV2, const math::Vector< real > &pV3)
void set (const Triangle &pTriangle)
const Triangleoperator= (const Triangle &pTriangle)
virtual void closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResPoint)
 return closest point

Protected Attributes

math::Vector< realmV [3]

Constructor & Destructor Documentation

Triangle::Triangle (  ) 

Triangle::Triangle ( const math::Vector< real > &  pV1,
const math::Vector< real > &  pV2,
const math::Vector< real > &  pV3 
)

Triangle::Triangle ( const Triangle pTriangle  ) 

Triangle::~Triangle (  ) 


Member Function Documentation

void Triangle::calcMinMaxPos (  )  [virtual]

calculate minimum and maximum positions

Implements iso::geom::Geometry.

math::Vector< real > & iso::geom::Triangle::v0 (  )  [inline]

math::Vector< real > & iso::geom::Triangle::v1 (  )  [inline]

math::Vector< real > & iso::geom::Triangle::v2 (  )  [inline]

const math::Vector< real > & iso::geom::Triangle::v0 (  )  const [inline]

const math::Vector< real > & iso::geom::Triangle::v1 (  )  const [inline]

const math::Vector< real > & iso::geom::Triangle::v2 (  )  const [inline]

void Triangle::set ( unsigned int  pVIndex,
real  pX,
real  pY,
real  pZ 
)

void Triangle::set ( unsigned int  pVIndex,
const math::Vector< real > &  pV 
)

void Triangle::set ( const math::Vector< real > &  pV1,
const math::Vector< real > &  pV2,
const math::Vector< real > &  pV3 
)

void Triangle::set ( const Triangle pTriangle  ) 

const Triangle & Triangle::operator= ( const Triangle pTriangle  ) 

void Triangle::closestPoint ( const math::Vector< real > &  pRefPoint,
math::Vector< real > &  pResPoint 
) [virtual]

return closest point

Parameters:
pRefPoint reference points
pResPoint result point
Remarks:
fails if dimension of reference and result points don't match dimension of geometry

Implements iso::geom::Geometry.


Member Data Documentation

math::Vector<real> iso::geom::Triangle::mV[3] [protected]


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 20:43:24 2010 for iso_geom by  doxygen 1.5.1