You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.RescaleArc

AVL.RescaleArc

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescaleArc
(
	AvlNet.Arc2D inArc,
	float inScale,
	bool inInverse,
	out AvlNet.Arc2D outArc
)

Parameters

Name Type Range Default Description
inArcAvlNet.Arc2D
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outArcAvlNet.Arc2D

Examples

RescaleArc performed on the sample arc, inReferencePoint = auto, inScale = 2.0 and inInverse = false.

Errors

List of possible exceptions:

Error type Description
DomainError Scale cannot be zero in an inverse scaling of an arc in RescaleArc.

Function Overrides

See also