Back to FabImage Library website

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

SurfaceBoundingBox


Header: FIL.h
Namespace: fil
Module: Vision3DStandard

Computes the bounding box 3D of given surface.

Syntax

C++
C#
 
void fil::SurfaceBoundingBox
(
	const fil::Surface& inSurface,
	ftl::Optional<const fil::Region&> inRoi,
	fil::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.