Back to Aurora Vision Studio website

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

RotateLine


Module: FoundationLite

Rotates a line clockwise around a center point.

Name Type Description
Input value inLine Line2D
Input value inCenter Point2D Center of rotation
Input value inAngle Real Clockwise angle of rotation
Input value inInverse Bool Switches to the inverse operation
Output value 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 Advanced Complexity Level.