You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.TranslatePoint3D_Toward

AVL.TranslatePoint3D_Toward

Translates a point in 3D towards another point in 3D by a specified distance.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TranslatePoint3D_Toward
(
	AvlNet.Point3D inPoint3D,
	AvlNet.Point3D inTargetPoint,
	float inDistance,
	bool inInverse,
	out AvlNet.Point3D outPoint3D
)

Parameters

Name Type Range Default Description
inPoint3DAvlNet.Point3D
inTargetPointAvlNet.Point3DDefines the direction of the translation.
inDistancefloatThe distance between inPoint3D and outPoint3D.
inInverseboolSwitches to the inverse operation.
outPoint3DAvlNet.Point3D

See also