Back to Aurora Vision Studio websiteYou are here:
Start »
Filter Reference »
Geometry 2D »
Geometry 2D Spatial Transforms »
RescalePoint
Changes the distance of a point to a reference point.
|
Name |
Type |
Description |
![Input value](../../img/in.png) |
inPoint |
Point2D |
|
![Input value](../../img/in.png) |
inReferencePoint |
Point2D |
Point to which the distance will be changed |
![Input value](../../img/in.png) |
inScale |
Real |
Scaling factor |
![Input value](../../img/in.png) |
inInverse |
Bool |
Switches to the inverse operation |
![Output value](../../img/out.png) |
outPoint |
Point2D |
|
Examples
RescalePoint performed on the sample point, inReferencePoint = (150.0, 150.0), inScale = -1.5 and inInverse = false. The inReferencePoint point is drawn on the first image in blue.
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 point in RescalePoint. |
Complexity Level
This filter is available on Advanced Complexity Level.