You are here: Start » AVL.NET » Invoke.TranslatePoint_Toward

Invoke.TranslatePoint_Toward

Translates a point towards another point by a specified distance.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void TranslatePoint_Toward
(
	Avl.Point2D inPoint,
	Avl.Point2D inTargetPoint,
	float inDistance,
	bool inInverse,
	out Avl.Point2D outPoint
)

Parameters

Name Type Range Default Description
inPointAvl.Point2D
inTargetPointAvl.Point2DDefines the direction of the translation.
inDistancefloatThe distance between inPoint and outPoint.
inInverseboolSwitches to the inverse operation.
outPointAvl.Point2D

See also