Class EdgeBase<ChildClass>
A unique edge or directed edge in a cell complex.
Implements
Inherited Members
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 EdgeBase<ChildClass> : ChildBase<ChildClass, Line>, IDistanceTo where ChildClass : ChildBase<ChildClass, Line>
Type Parameters
Name | Description |
---|---|
ChildClass |
Constructors
EdgeBase(UInt64, CellComplex)
Create an EdgeBase (just calls CellChild constructor).
Declaration
protected EdgeBase(ulong id, CellComplex cellComplex)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | id | |
CellComplex | cellComplex |
Fields
EndVertexId
ID of end Vertex.
Declaration
public ulong EndVertexId
Field Value
Type | Description |
---|---|
System.UInt64 |
StartVertexId
ID of start Vertex.
Declaration
public ulong StartVertexId
Field Value
Type | Description |
---|---|
System.UInt64 |
Methods
DistanceTo(Vector3)
Get the shortest distance from a point to the geometry representing this edge.
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.Line>.DistanceTo(Elements.Geometry.Vector3)
GetGeometry()
Get the geometry that represents this Edge or DirectedEdge.
Declaration
public override Line GetGeometry()
Returns
Type | Description |
---|---|
Line |
Overrides
Elements.Spatial.CellComplex.ChildBase<ChildClass, Elements.Geometry.Line>.GetGeometry()