Visit Gigasoft's Web Site
ProEssentials v7 Help

POLYGONDATA

This structure holds records which represent polygon data. This structure is passed via PEvset to the PEP_structPOLYDATA property when PolyMode is set to PEPM_POLYGONDATA.

 

 

typedef struct

{

  float X;

  float Y;

  float Z;

} Point3D;

 

typedef struct

{

  Point3D  Vertices[4];

  int      NumberOfVertices;

  DWORD    PolyColor;

  DWORD    dwReserved1;

  DWORD    dwReserved2;

} PolygonData; // 64 byte structure

 

 

Parameter

Description

X,Y,Z

Coordinates of a point which forms a vertex of polygon.

Vertices[4]

3 or 4 Point3D structures identifying all vertices of polygon.

NumberOfVertices

Number of vertices in Vertices[4] member.

PolyColor

RGB Color defining color of polygon.

 

Comments

See Also: PEP_structPOLYDATA.