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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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