Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » RescaleBox3D
RescaleBox3D
Changes the distances of box in 3D to a reference point.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::RescaleBox3D ( const avl::Box3D& inBox3D, const avl::Point3D& inReferencePoint, float inScale, bool inInverse, avl::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& |
Errors
Error type | Description |
---|---|
DomainError | inScale cannot be zero in an inverse rescaling. |