Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: PointD Rotated(double)

  • Declared in: RT.Geometry.PointD

Declaration

public PointD Rotated(
    double angle
)

Summary

Returns a vector of the same length as this vector, but rotated by the specified angle.

Parameters

doubleangle The angle in radians.

Returns

The rotated point.

Remarks

If the coordinate system is mathy (positive Y goes up), the rotation is clockwise. If the coordinate system is computery (positive Y goes down), the rotation is counter-clockwise.