Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 3D Spatial Transforms » RescaleSegment3D

RescaleSegment3D


Lengthens or shortens a segment in 3D relatively.

Name Type Description
inSegment3D Segment3D Input segment in 3D
inReferencePoint Point3D* 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
outSegment3D Segment3D

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 segment in RescaleSegment3D.

Complexity Level

This filter is available on Basic Complexity Level.