Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » ResizeBox3D

ResizeBox3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Changes the dimensions of a box in 3D.

Syntax

C++
C#
 
void avl::ResizeBox3D
(
	const avl::Box3D& inBox3D,
	const avl::Anchor3D& inAnchor,
	atl::Optional<float> inNewXLength,
	atl::Optional<float> inNewYLength,
	atl::Optional<float> inNewZLength,
	avl::Box3D& outBox3D
)

Parameters

Name Type Range Default Description
Input value inBox3D const Box3D& Input box in 3D
Input value inAnchor const Anchor3D& Point of the box in 3D which position will not change
Input value inNewXLength Optional<float> 0.0 - NIL Target length of the box in x-coordinate
Input value inNewYLength Optional<float> 0.0 - NIL Target length of the box in y-coordinate
Input value inNewZLength Optional<float> 0.0 - NIL Target length of the box in z-coordinate
Output value outBox3D Box3D& Resized box