You are here: Start » AVL.NET » AVL.TranslatePoint_Toward(AvlNet.Point2D, AvlNet.Point2D, float, bool, AvlNet.Point2D)

AVL.TranslatePoint_Toward(AvlNet.Point2D, AvlNet.Point2D, float, bool, AvlNet.Point2D)

Translates a point towards another point by a specified distance.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void TranslatePoint_Toward(
	AvlNet.Point2D inPoint,
	AvlNet.Point2D inTargetPoint,
	float inDistance,
	bool inInverse,
	out AvlNet.Point2D outPoint
)

Parameters

inPoint
Type: AvlNet.Point2D
inTargetPoint
Type: AvlNet.Point2D
Defines the direction of the translation
inDistance
Type: System.Single
The distance between inPoint and outPoint
inInverse
Type: System.Boolean
Switches to the inverse operation
outPoint
Type: AvlNet.Point2D

See also