Start » Filter Reference » Geometry 2D » Geometry 2D Spatial Transforms » RescaleCircle
Module: | FoundationLite |
---|
Changes radius of a circle and translates its center in relation to a reference point.
Name | Type | Description | |
---|---|---|---|
![]() |
inCircle | Circle2D | |
![]() |
inReferencePoint | Point2D* | The point to which the distance of the circle center is changed (no change by default) |
![]() |
inScale | Real | Scaling factor |
![]() |
inInverse | Bool | Switches to the inverse operation |
![]() |
outCircle | Circle2D |
Examples
![]() |
![]() |
RescaleCircle performed on the sample circle, inReferencePoint = auto, inScale = 0.5 and inInverse = false.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling of a circle in RescaleCircle. |
Complexity Level
This filter is available on Advanced Complexity Level.