[This is preliminary documentation and is subject to change.]
The CartesianUtils type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| AngleToMapDirection |
Converts a radian angular coordinate into map direction
| |
| AzimuthDeg |
Calculates azimuth for vector in degrees
| |
| AzimuthOfRadix |
Calculates azimuth for vector in degrees
| |
| AzimuthRad |
Calculates azimuth for vector in rads
| |
| CalculatePerimeterViolationArea |
Calculates an area of an inner rectangle that violates outside perimeter
| |
| Distance(Point, Point) |
Calculates distance between two points
| |
| Distance(PointF, PointF) |
Calculates distance between two points
| |
| Distance(Int32, Int32, Int32, Int32) |
Calculates distance between two points
| |
| Distance(Single, Single, Single, Single) |
Calculates distance between two points
| |
| FindRayFromRectangleCenterSideIntersection |
Returns a point of intersection between a ray cast from the center of a rectangle
under certain polar coordinate angle and a rectangle side
| |
| MapDirectionToAngle |
Converts map direction to angular coordinate in radians
| |
| PointToPolarPoint |
Converts Point to polar coordinate point
| |
| ToDeg |
Converts radians into degrees
| |
| ToRad |
Converts degrees into radians
| |
| VectorToPolarPoint |
Converts vector in 'x1, y1, x2, y2' representation to polar coordinate point
| |
| WrapAngle |
Modifies an angle by delta value ensuring that resulting angle is always between 0 and 2Pi
|
Fields
| Name | Description | |
|---|---|---|
| PI_DEGREES |
Represents count of degrees in PI
| |
| PI_HALF |
Pi/2 constant
| |
| PI2 |
Pi*2 constant
|
See Also