#include <iso_geom_geometry.h>
Inherited by iso::geom::Cuboid, iso::geom::GeometryGroup, iso::geom::Line, iso::geom::Mesh, iso::geom::Plane, iso::geom::PolyLine, iso::geom::Ray, iso::geom::Spline, iso::geom::SplineGroup, and iso::geom::Triangle.
Inheritance diagram for iso::geom::Geometry:
Public Member Functions | |
Geometry (unsigned int pDim) | |
create geometry | |
virtual | ~Geometry () |
destructor | |
virtual void | calcMinMaxPos ()=0 |
calculate minimum and maximum positions | |
unsigned int | dim () const |
return dimension | |
const math::Vector< real > & | minPos () const |
return minimum position | |
const math::Vector< real > & | maxPos () const |
return maximum position | |
virtual void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResPoint)=0 |
return closest point | |
Protected Member Functions | |
Geometry () | |
default constructor | |
Protected Attributes | |
unsigned int | mDim |
math::Vector< real > | mMinPos |
dimension | |
math::Vector< real > | mMaxPos |
minimum position |
Geometry::Geometry | ( | unsigned int | pDim | ) |
create geometry
pDim | dimension |
Geometry::~Geometry | ( | ) | [virtual] |
destructor
Geometry::Geometry | ( | ) | [protected] |
default constructor
virtual void iso::geom::Geometry::calcMinMaxPos | ( | ) | [pure virtual] |
calculate minimum and maximum positions
Implemented in iso::geom::Cuboid, iso::geom::GeometryGroup, iso::geom::Line, iso::geom::Plane, iso::geom::PolyLine, iso::geom::Ray, iso::geom::Triangle, iso::geom::Mesh, iso::geom::Spline, and iso::geom::SplineGroup.
unsigned int Geometry::dim | ( | ) | const |
return dimension
const math::Vector< real > & Geometry::minPos | ( | ) | const |
const math::Vector< real > & Geometry::maxPos | ( | ) | const |
virtual void iso::geom::Geometry::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
math::Vector< real > & | pResPoint | |||
) | [pure virtual] |
return closest point
pRefPoint | reference points | |
pResPoint | result point |
Implemented in iso::geom::Cuboid, iso::geom::GeometryGroup, iso::geom::Line, iso::geom::Plane, iso::geom::PolyLine, iso::geom::Ray, iso::geom::Triangle, iso::geom::Mesh, iso::geom::Spline, and iso::geom::SplineGroup.
unsigned int iso::geom::Geometry::mDim [protected] |
math::Vector<real> iso::geom::Geometry::mMinPos [protected] |
dimension
math::Vector<real> iso::geom::Geometry::mMaxPos [protected] |
minimum position