Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Class ConvexHull

    Factory class for computing convex hulls.

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

    Methods

    | Edit this page View Source

    Create(IList<double[]>, double)

    Creates a convex hull of the input data.

    Declaration
    public static ConvexHull<DefaultVertex, DefaultConvexFace<DefaultVertex>> Create(IList<double[]> data, double PlaneDistanceTolerance = 1E-10)
    Parameters
    Type Name Description
    IList<double[]> data

    The data.

    double PlaneDistanceTolerance

    The plane distance tolerance.

    Returns
    Type Description
    ConvexHull<DefaultVertex, DefaultConvexFace<DefaultVertex>>

    ConvexHull<DefaultVertex, DefaultConvexFace<DefaultVertex>>.

    | Edit this page View Source

    Create<TVertex>(IList<TVertex>, double)

    Creates a convex hull of the input data.

    Declaration
    public static ConvexHull<TVertex, DefaultConvexFace<TVertex>> Create<TVertex>(IList<TVertex> data, double PlaneDistanceTolerance = 1E-10) where TVertex : IVertex
    Parameters
    Type Name Description
    IList<TVertex> data

    The data.

    double PlaneDistanceTolerance

    The plane distance tolerance.

    Returns
    Type Description
    ConvexHull<TVertex, DefaultConvexFace<TVertex>>

    ConvexHull<TVertex, DefaultConvexFace<TVertex>>.

    Type Parameters
    Name Description
    TVertex

    The type of the t vertex.

    | Edit this page View Source

    Create<TVertex, TFace>(IList<TVertex>, double)

    Creates a convex hull of the input data.

    Declaration
    public static ConvexHull<TVertex, TFace> Create<TVertex, TFace>(IList<TVertex> data, double PlaneDistanceTolerance = 1E-10) where TVertex : IVertex where TFace : ConvexFace<TVertex, TFace>, new()
    Parameters
    Type Name Description
    IList<TVertex> data

    The data.

    double PlaneDistanceTolerance

    The plane distance tolerance.

    Returns
    Type Description
    ConvexHull<TVertex, TFace>

    ConvexHull<TVertex, TFace>.

    Type Parameters
    Name Description
    TVertex

    The type of the t vertex.

    TFace

    The type of the t face.

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