Back to Aurora Vision Library website

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

ResizeBox3D_Delta


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Changes the dimensions of a box in 3D by adding some values.

Syntax

C++
C#
 
void avl::ResizeBox3D_Delta
(
	const avl::Box3D& inBox3D,
	const avl::Anchor3D& inAnchor,
	float inXLengthDelta,
	float inYLengthDelta,
	float inZLengthDelta,
	avl::Box3D& outBox3D
)

Parameters

Name Type Default Description
Input value inBox3D const Box3D& Input box
Input value inAnchor const Anchor3D& Point of the box in 3D which position will not change
Input value inXLengthDelta float 0.0f Value added to length of the box in X axis
Input value inYLengthDelta float 0.0f Value added to length of the box in X axis
Input value inZLengthDelta float 0.0f Value added to length of the box in X axis
Output value outBox3D Box3D& Resized box

Errors

List of possible exceptions:

Error type Description
DomainError Negative box dimensions in ResizeBox3D_Delta.