You are here: Start » AVL.NET » AVS.SplitPointsByLine Method

AVS.SplitPointsByLine Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SplitPointsByLine
(
	IList<AvlNet.Point2D> inPoints,
	AvlNet.Line2D inLine,
	IList<AvlNet.Point2D> outPoints1,
	IList<AvlNet.Point2D> outPoints2
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Input points.
inLineAvlNet.Line2DLine used for splitting.
outPoints1System.Collections.Generic.IList<AvlNet.Point2D>Points with positive signed distance to the input line.
outPoints2System.Collections.Generic.IList<AvlNet.Point2D>Points with negative signed distance to the input line.

See also