iso::geom::TriangleTools Class Reference

#include <iso_geom_triangle_tools.h>

Collaboration diagram for iso::geom::TriangleTools:

Collaboration graph
[legend]
List of all members.

Public Member Functions

real distance (const math::Vector< real > &pRefPoint, const Triangle &pTriangle, real &pSP, real &pTP)
 calculate distance of point to triangle
void point (real pSP, real pTP, const Triangle &pTriangle, math::Vector< real > &pPoint)
 calculate point within triangle
void closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResultPoint, const Triangle &pTriangle)
 calculcate closest point to triangle

Static Public Member Functions

static TriangleToolsget ()
static void destroy ()

Protected Member Functions

 TriangleTools ()
 ~TriangleTools ()

Static Protected Attributes

static TriangleToolssTriangleTools

Constructor & Destructor Documentation

TriangleTools::TriangleTools (  )  [protected]

TriangleTools::~TriangleTools (  )  [protected]


Member Function Documentation

TriangleTools & TriangleTools::get (  )  [static]

void TriangleTools::destroy (  )  [static]

real TriangleTools::distance ( const math::Vector< real > &  pRefPoint,
const Triangle pTriangle,
real pSP,
real pTP 
)

calculate distance of point to triangle

Parameters:
pRefPoint search point
pTriangle triangle
pSP resulting S parameter
pST resulting T parameter
Returns:
distance

void TriangleTools::point ( real  pSP,
real  pTP,
const Triangle pTriangle,
math::Vector< real > &  pPoint 
)

calculate point within triangle

Parameters:
pSP resulting S parameter
pST resulting T parameter
pTriangle triangle
pPoint resulting point

void TriangleTools::closestPoint ( const math::Vector< real > &  pRefPoint,
math::Vector< real > &  pResultPoint,
const Triangle pTriangle 
)

calculcate closest point to triangle

Parameters:
pRefPoint search point
pResultPoint resulting closest point
pTriangle triangle


Member Data Documentation

TriangleTools * TriangleTools::sTriangleTools [static, 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