Class Triangulation
Factory class for creating triangulations.
Inheritance
Triangulation
Assembly: NWH.DWP2.dll
Syntax
public static class Triangulation
Methods
|
Edit this page
View Source
CreateDelaunay(IList<double[]>)
Creates the Delaunay triangulation of the input data.
Declaration
public static ITriangulation<DefaultVertex, DefaultTriangulationCell<DefaultVertex>> CreateDelaunay(IList<double[]> data)
Parameters
Returns
|
Edit this page
View Source
CreateDelaunay<TVertex>(IList<TVertex>)
Creates the Delaunay triangulation of the input data.
Declaration
public static ITriangulation<TVertex, DefaultTriangulationCell<TVertex>> CreateDelaunay<TVertex>(IList<TVertex> data) where TVertex : IVertex
Parameters
| Type |
Name |
Description |
| IList<TVertex> |
data |
The data.
|
Returns
Type Parameters
| Name |
Description |
| TVertex |
The type of the t vertex.
|
|
Edit this page
View Source
CreateDelaunay<TVertex, TFace>(IList<TVertex>)
Creates the Delaunay triangulation of the input data.
Declaration
public static ITriangulation<TVertex, TFace> CreateDelaunay<TVertex, TFace>(IList<TVertex> data) where TVertex : IVertex where TFace : TriangulationCell<TVertex, TFace>, new()
Parameters
| Type |
Name |
Description |
| IList<TVertex> |
data |
|
Returns
Type Parameters
| Name |
Description |
| TVertex |
|
| TFace |
|
|
Edit this page
View Source
CreateVoronoi(IList<double[]>)
Declaration
public static VoronoiMesh<DefaultVertex, DefaultTriangulationCell<DefaultVertex>, VoronoiEdge<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>> CreateVoronoi(IList<double[]> data)
Parameters
Returns
|
Edit this page
View Source
CreateVoronoi<TVertex>(IList<TVertex>)
Declaration
public static VoronoiMesh<TVertex, DefaultTriangulationCell<TVertex>, VoronoiEdge<TVertex, DefaultTriangulationCell<TVertex>>> CreateVoronoi<TVertex>(IList<TVertex> data) where TVertex : IVertex
Parameters
| Type |
Name |
Description |
| IList<TVertex> |
data |
|
Returns
Type Parameters
|
Edit this page
View Source
CreateVoronoi<TVertex, TCell>(IList<TVertex>)
Declaration
public static VoronoiMesh<TVertex, TCell, VoronoiEdge<TVertex, TCell>> CreateVoronoi<TVertex, TCell>(IList<TVertex> data) where TVertex : IVertex where TCell : TriangulationCell<TVertex, TCell>, new()
Parameters
| Type |
Name |
Description |
| IList<TVertex> |
data |
|
Returns
Type Parameters
| Name |
Description |
| TVertex |
|
| TCell |
|
|
Edit this page
View Source
CreateVoronoi<TVertex, TCell, TEdge>(IList<TVertex>)
Declaration
public static VoronoiMesh<TVertex, TCell, TEdge> CreateVoronoi<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 |
|
Returns
Type Parameters
| Name |
Description |
| TVertex |
|
| TCell |
|
| TEdge |
|