Skip to main content

Rotate Line

Description

Rotate polylines with a angle in clockwise or counter-clockwise direction at the specified position

Usage

Parameters

Parameter NameTypeDirectionData TypeDialog Reference
Input PolylineRequiredInputFeature Layerinput polyline feature layer
Rotate AngleOptionalInputDoubleRotage angle (in degrees), if None is given, use the angle between the line connecting the start/end points of the polyline, and horizontal line.
ClockwiseRequiredInputBooleanTrue = Clockwise

False = Counter-Clockwise
PositionRequiredInputStringFraction specifying the point the rotation is centered at, 0=line.firstPoint, 1=line.lastPoint, fraction=any point between first and last point on the line.
Output PolylineOptionalOutputFeature LayerOutput feature layer