#include <gre/3dclip.h>
Public Types | |
| enum | PLANE { PLANE_X_P_W = 0, PLANE_X_M_W = 1, PLANE_Y_P_W = 2, PLANE_Y_M_W = 3, PLANE_Z_P_W = 4, PLANE_Z_M_W = 5, PLANE_Count = 6 } |
Static Public Member Functions | |
| bool | ClipPoint (DPOINT3DH &point) |
| bool | ClipPolygon (const DOUBLE_ARRAY< DPOINT3DH > &input, DOUBLE_ARRAY< DPOINT3DH > &output) |
| bool | ClipSegment (DPOINT3DH &point1, DPOINT3DH &point2) |
This class is designed to provide static clipping methods against unit cube {-1.0, 1.0] for each coordinate in homogenius coordinates.
Definition at line 43 of file 3dclip.h.
|
|
|
|
|
Clip point.
|
|
||||||||||||
|
|
|
||||||||||||
|
Clip segment with endpoints point1 and point2. If segment intersects unit cube than point1 and point2 contains endpoints of intersection in return.
|
1.3.8-20040913