Back to Adaptive Vision Studio website

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

RotateLine


Rotates a line clockwise around a center point.

Name Type Description
inLine Line2D
inCenter Point2D Center of rotation
inAngle Real Clockwise angle of rotation
inInverse Bool Switches to the inverse operation
outLine Line2D

Examples

RotateLine performed on the sample line, inCenter = (152.0, 121.0), inAngle = 90.0 and inInverse = False. The inCenter point is drawn on the first image in blue.

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

Complexity Level

This filter is available on Basic Complexity Level.