Function VoxelPolygonClipper.ClipPolygonAlongZWithY
ClipPolygonAlongZWithY
(refVoxelPolygonClipper result, float multi, float offset)
Clips a polygon against an axis aligned half plane.
Public
void ClipPolygonAlongZWithY (
result | Ouput vertices. Only the Y coordinates are calculated. The X and Z coordinates are undefined. |
|
float | multi | Scale factor for the input vertices. Should be +1 or -1. If -1 the negative half plane is kept. |
float | offset | Offset to move the input vertices with before cutting |
Clips a polygon against an axis aligned half plane.
The polygons stored in this object are clipped against the half plane at z = -offset.