Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Class VoronoiMesh

    A factory class for creating a Voronoi mesh.

    Inheritance
    object
    VoronoiMesh
    Namespace: NWH.DWP2.MiConvexHull
    Assembly: NWH.DWP2.dll
    Syntax
    public static class VoronoiMesh

    Methods

    | Edit this page View Source

    Create(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>>>.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics