Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Geometry 3D Spatial Transforms »
ResizeBox3D_Delta
Changes the dimensions of a box in 3D by adding some values.
Syntax
C++
C#
void avl::ResizeBox3D_Delta
(
const avl::Box3D& inBox3D,
const avl::Anchor3D& inAnchor,
float inXLengthDelta,
float inYLengthDelta,
float inZLengthDelta,
avl::Box3D& outBox3D
)
void ResizeBox3D_Delta
(
Box3D inBox3D,
Anchor3D inAnchor,
float inXLengthDelta,
float inYLengthDelta,
float inZLengthDelta,
out Box3D outBox3D
)
Parameters
|
Name |
Type |
Default |
Description |
|
inBox3D |
const Box3D& |
|
Input box |
|
inAnchor |
const Anchor3D& |
|
Point of the box in 3D which position will not change |
|
inXLengthDelta |
float |
0.0f |
Value added to length of the box in X axis |
|
inYLengthDelta |
float |
0.0f |
Value added to length of the box in X axis |
|
inZLengthDelta |
float |
0.0f |
Value added to length of the box in X axis |
|
outBox3D |
Box3D& |
|
Resized box |
Errors
Error type |
Description |
DomainError |
Negative box dimensions in ResizeBox3D_Delta. |