You are here: Start » AVL.NET » AVS.RescalePoint Method

AVS.RescalePoint Method

Changes the distance of a point to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RescalePoint
(
	AvlNet.Point2D inPoint,
	AvlNet.Point2D inReferencePoint,
	float inScale,
	bool inInverse,
	out AvlNet.Point2D outPoint
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inReferencePointAvlNet.Point2DPoint to which the distance will be changed.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outPointAvlNet.Point2D

See also