Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » TranslateSegment
Translates a segment by a vector.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::TranslateSegment ( const avl::Segment2D& inSegment, const avl::Vector2D& inDelta, bool inInverse, avl::Segment2D& outSegment )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSegment | const Segment2D& | |||
inDelta | const Vector2D& | Translation vector | ||
inInverse | bool | Switches to the inverse operation | ||
outSegment | Segment2D& |