You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.TranslatePoint

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
inPointAvlNet.Point2D
inDeltaAvlNet.Vector2DTranslation vector.
inInverseboolSwitches to the inverse operation.
outPointAvlNet.Point2D

Examples

TranslatePoint performed on the sample point, inDelta = (80.0, 120.0) and inInverse = False.

See also