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

ResizeBox3D_Relative
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Resizes a box in 3D to relatively defined dimensions.
Syntax
C++
C#
void fil::ResizeBox3D_Relative ( const fil::Box3D& inBox3D, const fil::Anchor3D& inAnchor, float inXScale, float inYScale, float inZScale, fil::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 |