Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » ResizeBox3D_Relative
ResizeBox3D_Relative
Resizes a box in 3D to relatively defined dimensions.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ResizeBox3D_Relative ( const avl::Box3D& inBox3D, const avl::Anchor3D& inAnchor, float inXScale, float inYScale, float inZScale, avl::Box3D& outBox3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBox3D | const Box3D& | Input box in 3D | |||
inAnchor | const Anchor3D& | Point of the box in 3D which position will not change | |||
inXScale | float | 0.0 - | 1.0f | Scale factor in X axis | |
inYScale | float | 0.0 - | 1.0f | Scale factor in Y axis | |
inZScale | float | 0.0 - | 1.0f | Scale factor in Z axis | |
outBox3D | Box3D& | Resized box |