#include <iso_geom_line.h>
Inherits iso::geom::Geometry.
Inheritance diagram for iso::geom::Line:
Public Member Functions | |
Line () | |
Line (unsigned int pDim) | |
Line (const math::Vector< real > &pV1, const math::Vector< real > &pV2) | |
Line (const Line &pLine) | |
~Line () | |
virtual void | calcMinMaxPos () |
calculate minimum and maximum positions | |
math::Vector< real > & | v0 () |
math::Vector< real > & | v1 () |
const math::Vector< real > & | v0 () const |
const math::Vector< real > & | v1 () const |
void | set (unsigned int pVIndex, const math::Vector< real > &pV) |
void | set (const math::Vector< real > &pV1, const math::Vector< real > &pV2) |
void | set (const Line &pLine) |
const Line & | operator= (const Line &pLine) |
virtual void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResPoint) |
return closest point | |
virtual bool | intersect (const Line &pLine, math::Vector< real > &pResPoint) |
return intersection point with line | |
Protected Attributes | |
math::Vector< real > | mV [2] |
Line::Line | ( | ) |
Line::Line | ( | unsigned int | pDim | ) |
Line::Line | ( | const Line & | pLine | ) |
Line::~Line | ( | ) |
void Line::calcMinMaxPos | ( | ) | [virtual] |
math::Vector< real > & iso::geom::Line::v0 | ( | ) | [inline] |
math::Vector< real > & iso::geom::Line::v1 | ( | ) | [inline] |
const math::Vector< real > & iso::geom::Line::v0 | ( | ) | const [inline] |
const math::Vector< real > & iso::geom::Line::v1 | ( | ) | const [inline] |
void Line::set | ( | unsigned int | pVIndex, | |
const math::Vector< real > & | pV | |||
) |
void Line::set | ( | const Line & | pLine | ) |
void Line::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
math::Vector< real > & | pResPoint | |||
) | [virtual] |
return closest point
pRefPoint | reference points | |
pResPoint | result point |
Implements iso::geom::Geometry.
return intersection point with line
pLine | line | |
pResPoint | result point |
math::Vector<real> iso::geom::Line::mV[2] [protected] |