Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » SplitPointsByPlane

SplitPointsByPlane
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Separates the points being on one side of the input plane from the others.
Syntax
C++
C#
void fil::SplitPointsByPlane ( const ftl::Array<fil::Point3D>& inPoints, const fil::Plane3D& inPlane, ftl::Array<fil::Point3D>& outPoints1, ftl::Array<fil::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. |