Click or drag to resize
AB4D 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
    Ab3d.UtilitiesMeshPolygon

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public struct MeshPolygon

The MeshPolygon type exposes the following members.

Methods
 NameDescription
Public methodToStringReturns the fully qualified type name of this instance.
(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