Click or drag to resize
Ab4d.SharpEngine logo

SlicerSlicePolygon Method

Slices the polygon specified with polygonPositions with this Plane and adds the positions that are in front of the plane to the frontPositions list and positions in the back of the plane to the backPositions list.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void SlicePolygon(
	List<Vector3> polygonPositions,
	List<Vector3> frontPositions,
	List<Vector3> backPositions
)

Parameters

polygonPositions  ListVector3
List of Vector3 that defines the polygon
frontPositions  ListVector3
List of Vector3 that will get positions that are in front of this plane added
backPositions  ListVector3
List of Vector3 that will get positions that are in the back of this plane added
See Also