Class VoronoiMesh
A factory class for creating a Voronoi mesh.
Namespace: NWH.DWP2.MiConvexHull
Assembly: NWH.DWP2.dll
Syntax
public static class VoronoiMesh
Methods
| Edit this page View SourceCreate(IList<double[]>)
Create the voronoi mesh.
Declaration
public static VoronoiMesh<DefaultVertex, DefaultTriangulationCell<DefaultVertex>, VoronoiEdge<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>> Create(IList<double[]> data)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<double[]> | data | The data. |
Returns
| Type | Description |
|---|---|
| VoronoiMesh<DefaultVertex, DefaultTriangulationCell<DefaultVertex>, VoronoiEdge<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>> | VoronoiMesh<DefaultVertex, DefaultTriangulationCell<DefaultVertex>, VoronoiEdge<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>>. |
Create<TVertex>(IList<TVertex>)
Create the voronoi mesh.
Declaration
public static VoronoiMesh<TVertex, DefaultTriangulationCell<TVertex>, VoronoiEdge<TVertex, DefaultTriangulationCell<TVertex>>> Create<TVertex>(IList<TVertex> data) where TVertex : IVertex
Parameters
| Type | Name | Description |
|---|---|---|
| IList<TVertex> | data | The data. |
Returns
| Type | Description |
|---|---|
| VoronoiMesh<TVertex, DefaultTriangulationCell<TVertex>, VoronoiEdge<TVertex, DefaultTriangulationCell<TVertex>>> | VoronoiMesh<TVertex, DefaultTriangulationCell<TVertex>, VoronoiEdge<TVertex, DefaultTriangulationCell<TVertex>>>. |
Type Parameters
| Name | Description |
|---|---|
| TVertex | The type of the t vertex. |
Create<TVertex, TCell>(IList<TVertex>)
Create the voronoi mesh.
Declaration
public static VoronoiMesh<TVertex, TCell, VoronoiEdge<TVertex, TCell>> Create<TVertex, TCell>(IList<TVertex> data) where TVertex : IVertex where TCell : TriangulationCell<TVertex, TCell>, new()
Parameters
| Type | Name | Description |
|---|---|---|
| IList<TVertex> | data | The data. |
Returns
| Type | Description |
|---|---|
| VoronoiMesh<TVertex, TCell, VoronoiEdge<TVertex, TCell>> | VoronoiMesh<TVertex, TCell, VoronoiEdge<TVertex, TCell>>. |
Type Parameters
| Name | Description |
|---|---|
| TVertex | The type of the t vertex. |
| TCell | The type of the t cell. |
Create<TVertex, TCell, TEdge>(IList<TVertex>)
Create the voronoi mesh.
Declaration
public static VoronoiMesh<TVertex, TCell, TEdge> Create<TVertex, TCell, TEdge>(IList<TVertex> data) where TVertex : IVertex where TCell : TriangulationCell<TVertex, TCell>, new() where TEdge : VoronoiEdge<TVertex, TCell>, new()
Parameters
| Type | Name | Description |
|---|---|---|
| IList<TVertex> | data | The data. |
Returns
| Type | Description |
|---|---|
| VoronoiMesh<TVertex, TCell, TEdge> | VoronoiMesh<TVertex, TCell, TEdge>. |
Type Parameters
| Name | Description |
|---|---|
| TVertex | The type of the t vertex. |
| TCell | The type of the t cell. |
| TEdge | The type of the t edge. |