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

AVS.RescaleCircle Method

Changes radius of a circle and translates its center in relation to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RescaleCircle
(
	AvlNet.Circle2D inCircle,
	AvlNet.Point2D? inReferencePoint,
	float inScale,
	bool inInverse,
	out AvlNet.Circle2D outCircle
)

Parameters

Name Type Range Default Description
inCircleAvlNet.Circle2D
inReferencePointAvlNet.Point2D?The point to which the distance of the circle center is changed (no change by default). Default value: atl::NIL.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outCircleAvlNet.Circle2D

Function Overrides

See also