Show / Hide Table of Contents

    Class Edge

    A unique edge in a adaptive grid, connecting two vertices. Don't have a particular direction. Class is forked from CellComplex.Edge.

    Inheritance
    System.Object
    Edge
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements.Spatial.AdaptiveGrid
    Assembly: Hypar.Elements.dll
    Syntax
    public class Edge

    Fields

    EndId

    ID of end Vertex.

    Declaration
    public ulong EndId
    Field Value
    Type Description
    System.UInt64

    StartId

    ID of start Vertex.

    Declaration
    public ulong StartId
    Field Value
    Type Description
    System.UInt64

    Properties

    Id

    ID of this child.

    Declaration
    public ulong Id { get; }
    Property Value
    Type Description
    System.UInt64

    Methods

    Equals(Object)

    Used to handle comparisons for when we make HashSets of this type.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Used to return a unique identifier for when we make HashSets of this type.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    OtherVertexId(UInt64)

    ID of other Vertex of this Edge.

    Declaration
    public ulong OtherVertexId(ulong vertexId)
    Parameters
    Type Name Description
    System.UInt64 vertexId

    ID of one of edge vertices. Exception is thrown if not present.

    Returns
    Type Description
    System.UInt64