Back to Adaptive Vision Library website

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

TranslateBox3D


Shifts a box in 3D by a vector.

Syntax

C++
C#
 
void avl::TranslateBox3D
(
	const avl::Box3D& inBox3D,
	const avl::Vector3D& inDelta,
	bool inInverse,
	avl::Box3D& outBox3D
)

Parameters

Name Type Default Description
inBox3D const Box3D& Input box in 3D
inDelta const Vector3D& Translation vector
inInverse bool Switches to the inverse operation
outBox3D Box3D& Shifted box