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)
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, AvlNet.Point2D? inReferencePoint, float inScale, bool inInverse, out AvlNet.Arc2D outArc )
Parameters
- inArc
- Type: AvlNet.Arc2D
- inReferencePoint
- Type: System.Nullable<AvlNet.Point2D>
The point to which the distance of the arc center is changed (no change by default), or null. - inScale
- Type: System.Single
Scaling factor - inInverse
- Type: System.Boolean
Switches to the inverse operation - 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. |


