#include <iso_geom_triangle.h>
Inherits iso::geom::Geometry.
Inheritance diagram for iso::geom::Triangle:
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 Triangle & | operator= (const Triangle &pTriangle) |
virtual void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResPoint) |
return closest point | |
Protected Attributes | |
math::Vector< real > | mV [3] |
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 | ( | ) |
void Triangle::calcMinMaxPos | ( | ) | [virtual] |
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, | |
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 | ) |
void Triangle::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
math::Vector< real > & | pResPoint | |||
) | [virtual] |
return closest point
pRefPoint | reference points | |
pResPoint | result point |
Implements iso::geom::Geometry.
math::Vector<real> iso::geom::Triangle::mV[3] [protected] |