#include <virtualVertex.h>
Detailed Description
Constructor & Destructor Documentation
VirtualVertex::VirtualVertex |
( |
Vertex * |
vtx = NULL | ) |
|
VirtualVertex::~VirtualVertex |
( |
| ) |
|
Member Function Documentation
bool VirtualVertex::confoundedWithAnotherObject |
( |
| ) |
const |
std::list< VirtualVertex * > VirtualVertex::confundedNeighbors |
( |
| ) |
const |
std::list< VirtualVertex * > VirtualVertex::directNeighbors |
( |
| ) |
const |
- Returns
- list of VirtualVertex that are directly connected to this instance.
std::list< VirtualVertex * > VirtualVertex::nearerNeighbors |
( |
const unsigned int |
nb_nei, |
|
|
bool |
confounded = false |
|
) |
| const |
- Parameters
-
nb_nei | the number of neighbors |
confounded | false by default. If true, confounded neighbors count for only one. |
- Returns
- list of VirtualVertex that are the closer of this. List size is equal to nb_nei at the most.
- Note
- VirtualVertex are returned in distance increasing order. (nearer first)
-
confounded VirtualVertex are not sorted in any particular order
std::list< VirtualVertex * > VirtualVertex::neighborsAt |
( |
const float |
distance_max, |
|
|
const float |
distance_min = 0 |
|
) |
| const |
- Parameters
-
distance_max | the maximum distance |
distance_min | the minimum distance. Optionnal. Default, Zero or less mean no minimum. |
- Returns
- list of VirtualVertex that are at dist_max and dist_min included distances to this instance.
- Note
- VirtualVertex are returned in distance increasing order. (nearer first)
-
confounded VirtualVertex are not sorted in any particular order
void VirtualVertex::setVertex |
( |
Vertex * |
vtx | ) |
|
Change place of this by change Vertex reference
- Parameters
-
Vertex * VirtualVertex::vertex |
( |
| ) |
const |
- Returns
- Vertex referenced by this
The documentation for this class was generated from the following files:
- delaunator/libdelaunator_src/virtualVertex.h
- delaunator/libdelaunator_src/virtualVertex.cpp