Back to Aurora Vision Library website

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

TranslateBox3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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
Input value inBox3D const Box3D& Input box in 3D
Input value inDelta const Vector3D& Translation vector
Input value inInverse bool Switches to the inverse operation
Output value outBox3D Box3D& Shifted box

In-place Processing

This function supports in-place data processing - you can pass the same reference to inBox3D and outBox3D

Read more about In-place Computation.