Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Class VoronoiEdge<TVertex, TCell>

    A class representing an (undirected) edge of the Voronoi graph.

    Inheritance
    object
    VoronoiEdge<TVertex, TCell>
    Namespace: NWH.DWP2.MiConvexHull
    Assembly: NWH.DWP2.dll
    Syntax
    public class VoronoiEdge<TVertex, TCell> where TVertex : IVertex where TCell : TriangulationCell<TVertex, TCell>
    Type Parameters
    Name Description
    TVertex

    The type of the t vertex.

    TCell

    The type of the t cell.

    Constructors

    | Edit this page View Source

    VoronoiEdge()

    Create an instance of the edge.

    Declaration
    public VoronoiEdge()
    | Edit this page View Source

    VoronoiEdge(TCell, TCell)

    Create an instance of the edge.

    Declaration
    public VoronoiEdge(TCell source, TCell target)
    Parameters
    Type Name Description
    TCell source

    The source.

    TCell target

    The target.

    Properties

    | Edit this page View Source

    Source

    Source of the edge.

    Declaration
    public TCell Source { get; }
    Property Value
    Type Description
    TCell

    The source.

    | Edit this page View Source

    Target

    Target of the edge.

    Declaration
    public TCell Target { get; }
    Property Value
    Type Description
    TCell

    The target.

    Methods

    | Edit this page View Source

    Equals(object)

    ...

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to this instance; otherwise, false .

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    ...

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    object.GetHashCode()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics