Back to Aurora Vision Library website

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

SplitPointsByPlane


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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

Syntax

C++
C#
 
void avl::SplitPointsByPlane
(
	const atl::Array<avl::Point3D>& inPoints,
	const avl::Plane3D& inPlane,
	atl::Array<avl::Point3D>& outPoints1,
	atl::Array<avl::Point3D>& outPoints2
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point3D>& Input points
Input value inPlane const Plane3D& Plane used for splitting
Output value outPoints1 Array<Point3D>& Points with positive signed distance to the input plane
Output value outPoints2 Array<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.