Back to Aurora 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
Input value inPoint3DGrid const Point3DGrid&
Input value inRoi Optional<const Region&> NIL Region of interest
Input value inPlane const Plane3D& Plane used for splitting
Output value outPoint3DGrid1 Point3DGrid& Grid of points with positive signed distance to the input plane
Output value outPoint3DGrid2 Point3DGrid& Grid of points with negative signed distance to the input plane

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in SplitPoint3DGridByPlane.