Click or drag to resize
Ab4d.SharpEngine logo

MeshPolygon Structure

MeshPolygon defines a polygon in a 3D mesh. Polygon is a collection of edges that lie on the same 3D plane. Because orientation of edges is important because it defines the front and back face, the MeshPolygon also defines the IsEdgeFlipped that specifies if edge is flipped (start and end are flipped).
Inheritance Hierarchy
SystemObject
  SystemValueType
    Ab4d.SharpEngine.UtilitiesMeshPolygon

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

The MeshPolygon type exposes the following members.

Methods
 NameDescription
Public methodToString
(Overrides ValueTypeToString)
Top
Fields
 NameDescription
Public fieldEdgeIndexes List of edge indexes. See also the IsEdgeFlipped list that defines if edge is flipped (start and end are flipped).
Public fieldIsEdgeFlipped Specifies if edge is flipped (start and end are flipped). When true, then the StartPositionIndex and EndPositionIndex need to be flipped when the edge is used in the Polygons.
Public fieldNormal Normal vector of the polygon.
Top
See Also