In file contour/VertexContour2D.h:

class EdgeContour2D : public EdgeContour

an edge of a 2D contour

Inheritance:


Public Methods

VertexContour2D* getFirstVertex () const
Returns a pointer to the first vertex of an edge
VertexContour2D* getSecondVertex () const
Returns a pointer to the second vertex of an edge

Public

Constructors
EdgeContour2D (VertexContour2D *firstVertex, VertexContour2D *secondVertex=0)
Build an edge given its two vertices
Destructors
virtual ~EdgeContour2D ()
empty Destructor

Protected Methods

virtual VertexContour* createVertex () const
create a new vertex : use a virtual function in order to create inherited vertices

Inherited from EdgeContour:

Public Methods

void cutEdge()
VertexContour* addVertex()
int getTopologicalDistance(const EdgeContour *e) const

Protected Fields

VertexContour* vertex[2]

Documentation

an edge of a 2D contour
Constructors

EdgeContour2D(VertexContour2D *firstVertex, VertexContour2D *secondVertex=0)
Build an edge given its two vertices
Parameters:
firstVertex - the first edge vertex where the edge is stored
secondVertex - the second edge vertex

Destructors

virtual ~EdgeContour2D()
empty Destructor

VertexContour2D* getFirstVertex() const
Returns a pointer to the first vertex of an edge

VertexContour2D* getSecondVertex() const
Returns a pointer to the second vertex of an edge

virtual VertexContour* createVertex() const
create a new vertex : use a virtual function in order to create inherited vertices


Direct child classes:
EdgeActiveContour2D

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