Метод | Описание | |
---|---|---|
DegreesToRadians ( double degrees ) : double |
Converts the specified angle from degrees to radians
|
|
Distance ( double x1, double y1, double x2, double y2 ) : double |
Gets the euclidean distance between two points.
|
|
DistanceToLine ( System.Point point, List |
||
IsCCW ( LinearRing ring ) : bool |
Tests whether a ring is oriented counter-clockwise.
|
|
PointInPolygon ( List |
||
RotateClockwiseDegrees ( double x, double y, double degrees ) : System.Point |
Rotates the specified point clockwise about the origin
|
|
RotateClockwiseRadians ( double x, double y, double radians ) : System.Point |
Rotates the specified point clockwise about the origin
|
public static DegreesToRadians ( double degrees ) : double | ||
degrees | double | Angle to convert (degrees) |
Результат | double |
public static Distance ( double x1, double y1, double x2, double y2 ) : double | ||
x1 | double | The first point's X coordinate. |
y1 | double | The first point's Y coordinate. |
x2 | double | The second point's X coordinate. |
y2 | double | The second point's Y coordinate. |
Результат | double |
public static DistanceToLine ( System.Point point, List |
||
point | System.Point | |
points | List |
|
Результат | double |
public static IsCCW ( LinearRing ring ) : bool | ||
ring | LinearRing | Ring to test. |
Результат | bool |
public static PointInPolygon ( List |
||
ring | List |
|
point | System.Point | |
Результат | bool |
public static RotateClockwiseDegrees ( double x, double y, double degrees ) : System.Point | ||
x | double | X coordinate to rotate |
y | double | Y coordinate to rotate |
degrees | double | Angle to rotate (degrees) |
Результат | System.Point |
public static RotateClockwiseRadians ( double x, double y, double radians ) : System.Point | ||
x | double | X coordinate to rotate |
y | double | Y coordinate to rotate |
radians | double | Angle to rotate (radians) |
Результат | System.Point |