Back to Aurora Vision Library website

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

ResizeBox3D_Relative


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Resizes a box in 3D to relatively defined dimensions.

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
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 inXScale float 0.0 - 1.0f Scale factor in X axis
Input value inYScale float 0.0 - 1.0f Scale factor in Y axis
Input value inZScale float 0.0 - 1.0f Scale factor in Z axis
Output value outBox3D Box3D& Resized box