You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.SplitPointsByPlane

AVL.SplitPointsByPlane

Separates the points being on one side of the input plane from the others.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SplitPointsByPlane
(
	IList<AvlNet.Point3D> inPoints,
	AvlNet.Plane3D inPlane,
	IList<AvlNet.Point3D> outPoints1,
	IList<AvlNet.Point3D> outPoints2
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>Input points.
inPlaneAvlNet.Plane3DPlane used for splitting.
outPoints1System.Collections.Generic.IList<AvlNet.Point3D>Points with positive signed distance to the input plane.
outPoints2System.Collections.Generic.IList<AvlNet.Point3D>Points with negative signed distance to the input plane.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in SplitPointsByPlane.

See also