You are here:
Start »
AVL.NET »
AVL.RescaleArc Method
AVL.RescaleArc Method
Changes radius of an arc and translates its center in relation to a reference point.
Namespace: | AvlNet |
Assembly: | AVL.NET.dll |
Syntax
public static void RescaleArc(
AvlNet.Arc2D inArc,
float inScale,
bool inInverse,
out AvlNet.Arc2D outArc
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
| inArc | AvlNet.Arc2D | | | |
| inScale | float | | 1.0f | Scaling factor. Default value: 1.0f. |
| inInverse | bool | | | Switches to the inverse operation. |
| outArc | 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