Show / Hide Table of Contents

    Class VertexBase<ChildClass>

    A unique Vertex or Orientation in a cell complex.

    Inheritance
    System.Object
    ChildBase<ChildClass, Vector3>
    VertexBase<ChildClass>
    Orientation
    Vertex
    Implements
    IDistanceTo
    Inherited Members
    ChildBase<ChildClass, Vector3>.Id
    ChildBase<ChildClass, Vector3>.CellComplex
    ChildBase<ChildClass, Vector3>.GetHashCode()
    ChildBase<ChildClass, Vector3>.DistanceTo(Vector3)
    ChildBase<ChildClass, Vector3>.Equals(Object)
    ChildBase<ChildClass, Vector3>.GetGeometry()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements.Spatial.CellComplex
    Assembly: Hypar.Elements.dll
    Syntax
    public abstract class VertexBase<ChildClass> : ChildBase<ChildClass, Vector3>, IDistanceTo where ChildClass : ChildBase<ChildClass, Vector3>
    Type Parameters
    Name Description
    ChildClass

    Fields

    Value

    Location in space if this is a Vertex, or a vector direction if this is an Orientation.

    Declaration
    public Vector3 Value
    Field Value
    Type Description
    Vector3

    Properties

    Name

    An optional user-supplied name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DistanceTo(Vector3)

    Get the shortest distance from a point to the geometry representing this vertex.

    Declaration
    public override double DistanceTo(Vector3 point)
    Parameters
    Type Name Description
    Vector3 point
    Returns
    Type Description
    System.Double
    Overrides
    Elements.Spatial.CellComplex.ChildBase<ChildClass, Elements.Geometry.Vector3>.DistanceTo(Elements.Geometry.Vector3)

    GetGeometry()

    Get the Vector3 that represents this Vertex or Orientation.

    Declaration
    public override Vector3 GetGeometry()
    Returns
    Type Description
    Vector3
    Overrides
    Elements.Spatial.CellComplex.ChildBase<ChildClass, Elements.Geometry.Vector3>.GetGeometry()

    Implements

    IDistanceTo