Back to Adaptive Vision Library website

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

TranslateSegment3D


Shifts a segment in 3D by a vector.

Syntax

C++
C#
 
void avl::TranslateSegment3D
(
	const avl::Segment3D& inSegment3D,
	const avl::Vector3D& inDelta,
	bool inInverse,
	avl::Segment3D& outSegment3D
)

Parameters

Name Type Default Description
inSegment3D const Segment3D& Input segment in 3D
inDelta const Vector3D& Translation vector
inInverse bool Switches to the inverse operation
outSegment3D Segment3D& Shifted segment