#include <c4d_pgonedge.h>
Public Member Functions | |
Bool | IsFirst () |
Bool | IsSegmentEnd () |
Int32 | ID () |
Int32 | State () |
Int32 | Edge () |
Int32 | EdgeIndex () |
void | GetEdge (const CPolygon *vadr, Int32 &p1, Int32 &p2) |
Public Attributes | |
UInt32 | edge_index |
Represents an N-gon edge of a Pgon.
Bool IsFirst | ( | ) |
Check if the polygon ID is the first occurrence in the array.
Bool IsSegmentEnd | ( | ) |
Checks if it is the last edge in the segment.
Int32 ID | ( | ) |
Gets the polygon ID.
Int32 State | ( | ) |
Gets the edge state.
Int32 EdgeIndex | ( | ) |
Gets the edge index.
Assigns to p1 and p2 the point IDs for the edge or NOTINDEX if it is not an N-gon edge.
[in] | vadr | The polygon array. The caller owns the pointed array. |
[out] | p1 | Assigned the first point ID. |
[out] | p2 | Assigned the second point ID. |
UInt32 edge_index |
Edge index.