iso::geom::Line Class Reference

#include <iso_geom_line.h>

Inherits iso::geom::Geometry.

Inheritance diagram for iso::geom::Line:

Inheritance graph
[legend]
Collaboration diagram for iso::geom::Line:

Collaboration graph
[legend]
List of all members.

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 Lineoperator= (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< realmV [2]

Constructor & Destructor Documentation

Line::Line (  ) 

Line::Line ( unsigned int  pDim  ) 

Line::Line ( const math::Vector< real > &  pV1,
const math::Vector< real > &  pV2 
)

Line::Line ( const Line pLine  ) 

Line::~Line (  ) 


Member Function Documentation

void Line::calcMinMaxPos (  )  [virtual]

calculate minimum and maximum positions

Implements iso::geom::Geometry.

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 math::Vector< real > &  pV1,
const math::Vector< real > &  pV2 
)

void Line::set ( const Line pLine  ) 

const Line & Line::operator= ( const Line pLine  ) 

void Line::closestPoint ( const math::Vector< real > &  pRefPoint,
math::Vector< real > &  pResPoint 
) [virtual]

return closest point

Parameters:
pRefPoint reference points
pResPoint result point
Remarks:
fails if dimension of reference and result points don't match dimension of geometry

Implements iso::geom::Geometry.

bool Line::intersect ( const Line pLine,
math::Vector< real > &  pResPoint 
) [virtual]

return intersection point with line

Parameters:
pLine line
pResPoint result point
Returns:
true if there is an intersection, false otherwise
Remarks:
fails if dimensions don't match


Member Data Documentation

math::Vector<real> iso::geom::Line::mV[2] [protected]


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 20:43:23 2010 for iso_geom by  doxygen 1.5.1