#include <iso_geom.h>
Collaboration diagram for iso::geom::Geom:
Public Member Functions | |
void | closestIndex (const math::Vector< real > &pRefPoint, int &pResultIndex, QVector< math::Vector< real > > &pPolyLine, int pStartIndex=-1, int pEndIndex=-1) |
void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResultPoint, QVector< math::Vector< real > > &pPolyLine, int pStartIndex=-1, int pEndIndex=-1) |
math::Vector< real > | closestPoint (const math::Vector< real > &p_point, QVector< math::Vector< real > > &p_polyLine) |
math::Vector< real > | closestPoint (const math::Vector< real > &p_point, QVector< math::Vector< real > > &p_polyLine, unsigned int p_startIndex, unsigned int p_endIndex, unsigned int &p_resultIndex) |
void | closedPath (const QVector< math::Vector3< real > > &pPoints, QVector< unsigned int > &pResultIndices) |
calculate shortest non-self-intersecting path through a group of points | |
Static Public Member Functions | |
static Geom & | get () |
static void | destroy () |
Protected Member Functions | |
Geom () | |
~Geom () | |
Static Protected Attributes | |
static Geom * | s_geom |
Geom::Geom | ( | ) | [protected] |
Geom::~Geom | ( | ) | [protected] |
Geom & Geom::get | ( | ) | [static] |
void Geom::destroy | ( | ) | [static] |
void Geom::closestIndex | ( | const math::Vector< real > & | pRefPoint, | |
int & | pResultIndex, | |||
QVector< math::Vector< real > > & | pPolyLine, | |||
int | pStartIndex = -1 , |
|||
int | pEndIndex = -1 | |||
) |
void Geom::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
math::Vector< real > & | pResultPoint, | |||
QVector< math::Vector< real > > & | pPolyLine, | |||
int | pStartIndex = -1 , |
|||
int | pEndIndex = -1 | |||
) |
math::Vector< real > Geom::closestPoint | ( | const math::Vector< real > & | p_point, | |
QVector< math::Vector< real > > & | p_polyLine | |||
) |
math::Vector< real > Geom::closestPoint | ( | const math::Vector< real > & | p_point, | |
QVector< math::Vector< real > > & | p_polyLine, | |||
unsigned int | p_startIndex, | |||
unsigned int | p_endIndex, | |||
unsigned int & | p_resultIndex | |||
) |
void Geom::closedPath | ( | const QVector< math::Vector3< real > > & | pPoints, | |
QVector< unsigned int > & | pResultIndices | |||
) |
calculate shortest non-self-intersecting path through a group of points
pPoints | 3D vectors | |
pResultIndices | result indices into group of 3D vectors |
Geom * Geom::s_geom [static, protected] |