You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RescaleCircle
Changes radius of a circle and translates its center in relation to a reference point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescaleCircle ( FilNet.Circle2D inCircle, FilNet.Point2D? inReferencePoint, float inScale, bool inInverse, out FilNet.Circle2D outCircle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inCircle | FilNet.Circle2D | |||
![]() | inReferencePoint | FilNet.Point2D? | The point to which the distance of the circle 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. | ||
![]() | outCircle | FilNet.Circle2D |
Examples
![]() |
![]() |
RescaleCircle performed on the sample circle, inReferencePoint = auto, inScale = 0.5 and inInverse = false.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling of a circle in RescaleCircle. |