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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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