You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.TranslatePoint
Translates a point by a vector.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TranslatePoint ( AvlNet.Point2D inPoint, AvlNet.Vector2D inDelta, bool inInverse, out AvlNet.Point2D outPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | AvlNet.Point2D | |||
![]() | inDelta | AvlNet.Vector2D | Translation vector. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPoint | AvlNet.Point2D |
Examples
![]() |
![]() |
TranslatePoint performed on the sample point, inDelta = (80.0, 120.0) and inInverse = False.