Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » RescaleBox3D

RescaleBox3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Changes the distances of box in 3D to a reference point.
Syntax
C++
C#
void fil::RescaleBox3D ( const fil::Box3D& inBox3D, const fil::Point3D& inReferencePoint, float inScale, bool inInverse, fil::Box3D& outBox3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inBox3D | const Box3D& | ||
![]() |
inReferencePoint | const Point3D& | Point to which the distances will be changed | |
![]() |
inScale | float | 1.0f | Scaling factor |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outBox3D | Box3D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inBox3D and outBox3D
Read more about In-place Computation.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling of a box in RescaleBox3D. |