Back to Adaptive Vision Studio website

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

RescalePointArray


Changes the distances of points from an array to a reference point.

Name Type Description
inPoints Point2DArray
inReferencePoint Point2D* Point to which the distances will be changed (the mass center by default)
inScale Real Scaling factor
inInverse Bool Switches to the inverse operation
outPoints Point2DArray

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 RescalePointArray.

Complexity Level

This filter is available on Basic Complexity Level.