You are here: Start » AVL.NET » AVL.RescaleArc(AvlNet.Arc2D, AvlNet.Point2D?, float, bool, AvlNet.Arc2D)

AVL.RescaleArc(AvlNet.Arc2D, AvlNet.Point2D?, float, bool, AvlNet.Arc2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RescaleArc(
	AvlNet.Arc2D inArc,
	AvlNet.Point2D? inReferencePoint,
	float inScale,
	bool inInverse,
	out AvlNet.Arc2D outArc
)

Parameters

inArc
Type: AvlNet.Arc2D
inReferencePoint
Type: System.Nullable<AvlNet.Point2D>
inScale
Type: System.Single
inInverse
Type: System.Boolean
outArc
Type: AvlNet.Arc2D

Examples

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

Errors

Error type Description
DomainError inScale cannot be zero in an inverse scaling in RescaleArc.

See also