SplitPointsByLine


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

Syntax

C++
Python
 
def SplitPointsByLine(
	inPoints: list[Point2D],
	inLine: Line2D,
	/
)
-> (
	outPoints1: list[Point2D],
	outPoints2: list[Point2D]
)

Parameters

Name Type Default Description
Input value inPoints list[Point2D] Input points
Input value inLine Line2D Line used for splitting
Output value outPoints1 list[Point2D] Points with positive signed distance to the input line
Output value outPoints2 list[Point2D] Points with negative signed distance to the input line