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).

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

The MeshPolygon type exposes the following members.

Methods
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