Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: PointD Rotate(double)

  • Declared in: RT.Coordinates.PointD

Declaration

public PointD Rotate(
    double angle
)

Summary

Rotates the current point by the specified angle about the origin.

Parameters

doubleangle The angle in radians.

Returns

The rotated point.

Remarks

If the point coordinates are interpreted as is common in geometry (positive Y-axis goes up), this rotation is counter-clockwise. In SVG, where the positive Y-axis goes down, the rotation is clockwise.