You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RescaleArc
Changes radius of an arc and translates its center in relation to a reference point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescaleArc ( FilNet.Arc2D inArc, FilNet.Point2D? inReferencePoint, float inScale, bool inInverse, out FilNet.Arc2D outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inArc | FilNet.Arc2D | |||
![]() | inReferencePoint | FilNet.Point2D? | The point to which the distance of the arc center is changed (no change by default). Default value: ftl::NIL. | ||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outArc | FilNet.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. |