Back to Adaptive Vision Library website

You are here: Start » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » SplitPoint3DGridByPlane

SplitPoint3DGridByPlane


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::SplitPoint3DGridByPlane
(
	const avl::Point3DGrid& inPoint3DGrid,
	atl::Optional<const avl::Region&> inRoi,
	const avl::Plane3D& inPlane,
	avl::Point3DGrid& outPoint3DGrid1,
	avl::Point3DGrid& outPoint3DGrid2
)

Parameters

Name Type Default Description
inPoint3DGrid const Point3DGrid&
inRoi Optional<const Region&> NIL Region of interest
inPlane const Plane3D& Plane used for splitting
outPoint3DGrid1 Point3DGrid& Grid of points with positive signed distance to the input plane
outPoint3DGrid2 Point3DGrid& Grid of points with negative signed distance to the input plane

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in SplitPoint3DGridByPlane.