You are here: Start » AVL.NET » AVL.TranslatePoint_Toward
Translates a point towards another point by a specified distance.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TranslatePoint_Toward ( AvlNet.Point2D inPoint, AvlNet.Point2D inTargetPoint, float inDistance, bool inInverse, out AvlNet.Point2D outPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inTargetPoint | AvlNet.Point2D | Defines the direction of the translation. | |||
inDistance | float | The distance between inPoint and outPoint. | |||
inInverse | bool | Switches to the inverse operation. | |||
outPoint | AvlNet.Point2D |