#include <delaunay.h>
Public Members | |||
![]() | ![]() | edge ( const vector2 &v0, const vector2 &v1 ) | |
![]() | ![]() | The only constructur for an edge. More... | |
![]() | ![]() | ~edge (void) | |
![]() | ![]() | const vector2& | vertex ( const unsigned i ) const |
![]() | ![]() | Get one of the points at the ends of the line segment. More... | |
Friends | |||
![]() | ![]() | bool | operator== ( const edge &a, const edge &b ) |
![]() | ![]() | Compare two edge objects for equality. More... | |
Definition at line 43 of file delaunay.h.
delaunay::edge::edge (const vector2 & v0, const vector2 & v1) [inline]
|
The only constructur for an edge.
| v0 | a point at one end of the line segment |
| v1 |
the point at the other end of the line segment
|
assert( this->vertex(0) == v0 ); assert( this->vertex(1) == v1 );
Definition at line 496 of file delaunay.h.
delaunay::edge::~edge (void) [inline]
|
Definition at line 511 of file delaunay.h.
const vector2 & delaunay::edge::vertex (const unsigned i) const [inline]
|
Get one of the points at the ends of the line segment.
| i | which of the two points to get |
assert( i == 0 || i == 1 );
Definition at line 518 of file delaunay.h.
bool operator== (const edge & a, const edge & b) [friend]
|
1.0.0 written by Dimitri van Heesch,
© 1997-1999