My Project
|
The Voronoi diagram is the dual of a pointset triangulation. More...
Protected Member Functions | |
VoronoiBase (TriangleNetMesh triangleNetMesh, IVoronoiFactory factory, IPredicates predicates, bool generate) | |
Initializes a new instance of the VoronoiBase class. | |
void | Generate (TriangleNetMesh triangleNetMesh) |
Generate the Voronoi diagram from given triangle mesh.. | |
List< HalfEdge >[] | ComputeVertices (TriangleNetMesh triangleNetMesh, Vertex[] vertices) |
Compute the Voronoi vertices (the circumcenters of the triangles). | |
void | ComputeEdges (TriangleNetMesh triangleNetMesh, Vertex[] vertices, Face[] faces, List< HalfEdge >[] map) |
Compute the edges of the Voronoi diagram. | |
virtual void | ConnectEdges (List< HalfEdge >[] map) |
Connect all edges of the Voronoi diagram. | |
override IEnumerable< IEdge > | EnumerateEdges () |
Enumerates all edges of the DCEL. | |
![]() | |
DcelMesh (bool initialize) | |
Initializes a new instance of the class. | |
virtual IEnumerable< IEdge > | EnumerateEdges () |
Enumerates all edges of the DCEL. | |
Protected Attributes | |
IPredicates | predicates |
IVoronoiFactory | factory |
List< HalfEdge > | rays |
![]() | |
List< Vertex > | vertices |
List< HalfEdge > | edges |
List< Face > | faces |
Additional Inherited Members | |
![]() | |
DcelMesh () | |
Initializes a new instance of the DcelMesh class. | |
virtual bool | IsConsistent (bool closed=true, int depth=0) |
Check if the DCEL is consistend. | |
void | ResolveBoundaryEdges () |
Search for half-edge without twin and add a twin. Connect twins to form connected boundary contours. | |
![]() | |
List< Vertex > | Vertices [get] |
Gets the vertices of the Voronoi diagram. | |
List< HalfEdge > | HalfEdges [get] |
Gets the list of half-edges specify the Voronoi diagram topology. | |
List< Face > | Faces [get] |
Gets the faces of the Voronoi diagram. | |
IEnumerable< IEdge > | Edges [get] |
Gets the collection of edges of the Voronoi diagram. | |
The Voronoi diagram is the dual of a pointset triangulation.
|
inlineprotected |
Initializes a new instance of the VoronoiBase class.
triangleNetMesh | Triangle mesh. |
factory | Voronoi object factory. |
predicates | Geometric predicates implementation. |
generate | If set to true, the constuctor will call the Generate method, which builds the Voronoi diagram. |
|
inlineprotected |
Compute the edges of the Voronoi diagram.
triangleNetMesh | |
vertices | |
faces | |
map | Empty vertex map. |
|
inlineprotected |
Compute the Voronoi vertices (the circumcenters of the triangles).
|
inlineprotectedvirtual |
Connect all edges of the Voronoi diagram.
map | Maps all vertices to a list of leaving edges. |
|
inlineprotectedvirtual |
Enumerates all edges of the DCEL.
This method assumes that each half-edge has a twin (i.e. NOT null).
Reimplemented from TriangleNet.Topology.DCEL.DcelMesh.
|
inlineprotected |
Generate the Voronoi diagram from given triangle mesh..
triangleNetMesh | |
bounded |