Click or drag to resize
Ab4d.SharpEngine logo

MeshEdge Structure

MeshEdge defines an edge in a 3D mesh. The edge is defined by StartPositionIndex and EndPositionIndex that represents two indexes in the mesh's positions collection. MeshEdge also defines indexes of polygons that use that edge.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Ab4d.SharpEngine.UtilitiesMeshEdge

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public struct MeshEdge

The MeshEdge type exposes the following members.

Constructors
 NameDescription
Public methodMeshEdge Constructor
Top
Methods
 NameDescription
Public methodToString
(Overrides ValueTypeToString)
Top
Fields
 NameDescription
Public fieldCoveredByPartialEdgesPercent When bigger then 0, this indicates the percentage (from 0 to 1) how much of the edge is covered by partial edges. This also indicates that PartialEdges start at index 1.
Public fieldEndPositionIndex Index in the mesh's positions collection that defines the end edge position.
Public fieldIsNeighboringPolygonEdgeFlipped When true, then edge is flipped (start and end are flipped) in the NeighboringPolygonIndex.
Public fieldNeighboringPolygonIndex Index of the polygon that also shares both start and end positions of this edge. When -1 then no neighboring polygon is assigned.
Public fieldOriginalPolygonIndex Index of the polygon that was used to create this edge.
Public fieldParentEdgeIndex When not -1, this specifies the edge index that this edge was added to as a partial edge.
Public fieldPartialEdgePolygonIndexes List of Tuples that define additional edges that are connected to this edge but do not share both start and end position. The first item in Tuple is Edge index, the second item is Polygon index. This list is null when no partial edges are assigned.
Public fieldStartPositionIndex Index in the mesh's positions collection that defines the start edge position.
Top
See Also