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