the line class associated with a Contour2D that includes some basic 2D geometric information
![]() | getContour () const returns the 2D contour where the line belongs |
![]() | firstVertex () const returns an VertexContour2D iterator on the first line vertex of the line |
![]() | lastVertex () const returns an VertexContour2D iterator on the last line vertex of the line |
![]() | computeTangent () throw(ContourLine2D::IllegalGeometry) Computes the tangent, normal and binormal vector for each vertex of a line |
![]() | removeLine () destroys this line if it is not the only line left in the contour otherwise do nothing |
![]() | createVertex () create a new vertex : use a virtual function in order to create inherited vertices |
![]() | Exception classes | ||||||||
![]() | Constructors
| ||||||||
![]() | destructor
|
constructors
the line class associated with a Contour2D that includes some basic 2D geometric information
class IllegalGeometry: public Exception
ContourLine2D(unsigned int nb, Contour2D *c, ContourLine::Topology top=ContourLine::OPENED) throw(EmptyLine)
top - the line topology
c - the contour where the line belongs
ContourLine2D(Contour2D *c, ContourLine::Topology top)
top - the line topology ContourLine2D(const ContourLine2D* l, Contour2D *c)
c - the contour where the line belongs
VertexContourLine2DIterator firstVertex() const
VertexContourLine2DIterator lastVertex() const
void computeTangent() throw(ContourLine2D::IllegalGeometry)
virtual void removeLine()
virtual VertexContour* createVertex()
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de