Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Class ConvexHull<TVertex, TFace>

    Representation of a convex hull.

    Inheritance
    object
    ConvexHull<TVertex, TFace>
    Namespace: NWH.DWP2.MiConvexHull
    Assembly: NWH.DWP2.dll
    Syntax
    public class ConvexHull<TVertex, TFace> where TVertex : IVertex where TFace : ConvexFace<TVertex, TFace>, new()
    Type Parameters
    Name Description
    TVertex

    The type of the t vertex.

    TFace

    The type of the t face.

    Properties

    | Edit this page View Source

    Faces

    Faces of the convex hull.

    Declaration
    public IEnumerable<TFace> Faces { get; }
    Property Value
    Type Description
    IEnumerable<TFace>

    The faces.

    | Edit this page View Source

    Points

    Vertices of the convex hull.

    Declaration
    public IEnumerable<TVertex> Points { get; }
    Property Value
    Type Description
    IEnumerable<TVertex>

    The points.

    Methods

    | Edit this page View Source

    Create(IList<TVertex>, double)

    Creates the convex hull.

    Declaration
    public static ConvexHull<TVertex, TFace> Create(IList<TVertex> data, double PlaneDistanceTolerance)
    Parameters
    Type Name Description
    IList<TVertex> data

    The data.

    double PlaneDistanceTolerance

    The plane distance tolerance.

    Returns
    Type Description
    ConvexHull<TVertex, TFace>

    ConvexHull<TVertex, TFace>.

    Exceptions
    Type Condition
    ArgumentNullException

    The supplied data is null.

    ArgumentNullException

    data

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