Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Class Triangulation

    Factory class for creating triangulations.

    Inheritance
    object
    Triangulation
    Namespace: NWH.DWP2.MiConvexHull
    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
    Type Name Description
    IList<double[]> data

    The data.

    Returns
    Type Description
    ITriangulation<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>

    ITriangulation<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>.

    | 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 Description
    ITriangulation<TVertex, DefaultTriangulationCell<TVertex>>

    ITriangulation<TVertex, DefaultTriangulationCell<TVertex>>.

    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 Description
    ITriangulation<TVertex, TFace>
    Type Parameters
    Name Description
    TVertex
    TFace
    | Edit this page View Source

    CreateVoronoi(IList<double[]>)

    Create the voronoi mesh.

    Declaration
    public static VoronoiMesh<DefaultVertex, DefaultTriangulationCell<DefaultVertex>, VoronoiEdge<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>> CreateVoronoi(IList<double[]> data)
    Parameters
    Type Name Description
    IList<double[]> data
    Returns
    Type Description
    VoronoiMesh<DefaultVertex, DefaultTriangulationCell<DefaultVertex>, VoronoiEdge<DefaultVertex, DefaultTriangulationCell<DefaultVertex>>>
    | Edit this page View Source

    CreateVoronoi<TVertex>(IList<TVertex>)

    Create the voronoi mesh.

    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 Description
    VoronoiMesh<TVertex, DefaultTriangulationCell<TVertex>, VoronoiEdge<TVertex, DefaultTriangulationCell<TVertex>>>
    Type Parameters
    Name Description
    TVertex
    | Edit this page View Source

    CreateVoronoi<TVertex, TCell>(IList<TVertex>)

    Create the voronoi mesh.

    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 Description
    VoronoiMesh<TVertex, TCell, VoronoiEdge<TVertex, TCell>>
    Type Parameters
    Name Description
    TVertex
    TCell
    | Edit this page View Source

    CreateVoronoi<TVertex, TCell, TEdge>(IList<TVertex>)

    Create the voronoi mesh.

    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 Description
    VoronoiMesh<TVertex, TCell, TEdge>
    Type Parameters
    Name Description
    TVertex
    TCell
    TEdge
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics