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

ResizeBox3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Changes the dimensions of a box in 3D.
Syntax
C++
C#
void fil::ResizeBox3D ( const fil::Box3D& inBox3D, const fil::Anchor3D& inAnchor, ftl::Optional<float> inNewXLength, ftl::Optional<float> inNewYLength, ftl::Optional<float> inNewZLength, 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 | ||
![]() |
inNewXLength | Optional<float> | 0.0 - ![]() |
NIL | Target length of the box in x-coordinate |
![]() |
inNewYLength | Optional<float> | 0.0 - ![]() |
NIL | Target length of the box in y-coordinate |
![]() |
inNewZLength | Optional<float> | 0.0 - ![]() |
NIL | Target length of the box in z-coordinate |
![]() |
outBox3D | Box3D& | Resized box |