Back to FabImage Library website
You are here: Start » Function Reference » Surface » Surface Features » SurfaceBoundingBox_OrNil

SurfaceBoundingBox_OrNil
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DStandard |
Computes the bounding box 3D of given surface; returns NIL if no valid point is present.
Syntax
C++
C#
void fil::SurfaceBoundingBox_OrNil ( const fil::Surface& inSurface, ftl::Optional<const fil::Region&> inRoi, ftl::Conditional<fil::Box3D>& outBoundingBox3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSurface | const Surface& | Input surface | |
![]() |
inRoi | Optional<const Region&> | NIL | Region of interest |
![]() |
outBoundingBox3D | Conditional<Box3D>& | Bounding box of the surface points |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region of interest exceeds an input surface in SurfaceBoundingBox_OrNil. |