Function prototypes. More...
Functions | |
| void | Clip3DCompOutCodes (INT32 numpoints, DPOINT3D *point, UINT8 *outcode, double zmin, UINT32 flags) |
| int | Clip3DFlatPolygon (DPOINT3D *ipoint, UINT8 *outcode, INT32 numIPoints, DPOINT3D *opoint, double ViewPlaneDist, UINT32 flags) |
| int | Clip3DLine (DPOINT3D *p0, DPOINT3D *p1, double zmin, UINT32 flags) |
| int | Clip3DLineParallel (DPOINT3D *p0, DPOINT3D *p1, UINT32 flags) |
| int | Clip3DLinePerspective (DPOINT3D *p0, DPOINT3D *p1, double zmin, UINT32 flags) |
| int | Clip3DTriangle (DPOINT3D **tp, UINT8 *outcode, DPOINT3D *opoint, double ViewPlaneDist, UINT32 flags) |
Function prototypes.
:Associate with "Geometric Functions (3D)"
| void Clip3DCompOutCodes | ( | INT32 | numpoints, | |
| DPOINT3D * | point, | |||
| UINT8 * | outcode, | |||
| double | zmin, | |||
| UINT32 | flags | |||
| ) |
Compute Cohen-Sutherland "out-codes" used in clipping.
| int Clip3DFlatPolygon | ( | DPOINT3D * | ipoint, | |
| UINT8 * | outcode, | |||
| INT32 | numIPoints, | |||
| DPOINT3D * | opoint, | |||
| double | ViewPlaneDist, | |||
| UINT32 | flags | |||
| ) |
Clip flat polygon to canonical view volume.
| opoint | Boundary points returned.(Should be twice more than numIPoints) |
Clip line against canonical view volume.
| p0 | Line starting point passed/returned. | |
| p1 | Line ending point passed/returned. |
Clip line against canonical parallel-projection view volume.
| p0 | Line starting point passed/returned | |
| p1 | Line ending point passed/returned |
Clip line against canonical perspective-projection view volume.
| p0 | Line starting point passed/returned. | |
| p1 | Line ending point passed/returned. |
1.6.1