Back to Adaptive Vision 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
inLine Line2D
inReferencePoint Point2D The point to which all distances change linearly
inScale Real Scaling factor
inInverse Bool Switches to the inverse operation
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 Basic Complexity Level.