Back to Adaptive Vision Studio website

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

RescaleSegment


Lengthens or shortens a segment relatively.

Name Type Description
inSegment Segment2D
inReferencePoint Point2D* The point to which all distances change linearly (the mass center by default)
inScale Real Scaling factor (negative values invert the segment)
inInverse Bool Switches to the inverse operation
outSegment Segment2D

Examples

RescaleSegment performed on the sample segment, inReferencePoint = auto, inScale = 2.0 and inInverse = false.

Complexity Level

This filter is available on Basic Complexity Level.