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

Invoke.RescaleLine

Changes the distance of a line to a reference point.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void RescaleLine
(
	Avl.Line2D inLine,
	Avl.Point2D inReferencePoint,
	float inScale,
	bool inInverse,
	out Avl.Line2D outLine
)

Parameters

Name Type Range Default Description
inLineAvl.Line2D
inReferencePointAvl.Point2DThe point to which all distances change linearly.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outLineAvl.Line2D

See also