Back to FabImage Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Spatial Transforms » RescaleLine

RescaleLine


Module: FoundationLite

Changes the distance of a line to a reference point.

Name Type Description
Input value inLine Line2D
Input value inReferencePoint Point2D The point to which all distances change linearly
Input value inScale Real Scaling factor
Input value inInverse Bool Switches to the inverse operation
Output value outLine Line2D

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 Indefinite line on input in RescaleLine.
DomainError Scale cannot be zero in an inverse rescaling of a line in RescaleLine.

Complexity Level

This filter is available on Advanced Complexity Level.