Function VoxelPolygonClipper.ClipPolygonAlongZWithYZ

ClipPolygonAlongZWithYZ (refVoxelPolygonClipper result, float multi, float offset)

Clips a polygon against an axis aligned half plane.

Public
void ClipPolygonAlongZWithYZ (

refVoxelPolygonClipper

result

Ouput vertices. Only the Y and Z coordinates are calculated. The X 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.