Back to Aurora Vision Library website

You are here: Start » Function Reference » Surface » Surface Features » SurfaceBoundingBox

SurfaceBoundingBox


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Computes the bounding box 3D of given surface.

Syntax

C++
C#
 
void avl::SurfaceBoundingBox
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Region&> inRoi,
	avl::Box3D& outBoundingBox3D
)

Parameters

Name Type Default Description
Input value inSurface const Surface& Input surface
Input value inRoi Optional<const Region&> NIL Region of interest
Output value outBoundingBox3D Box3D& Bounding box of the surface points

Errors

List of possible exceptions:

Error type Description
DomainError No valid point in given region in SurfaceBoundingBox.
DomainError Region of interest exceeds an input surface in SurfaceBoundingBox.