CartesianUtils MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The CartesianUtils type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAngleToMapDirection
Converts a radian angular coordinate into map direction
Public methodStatic memberAzimuthDeg
Calculates azimuth for vector in degrees
Public methodStatic memberAzimuthOfRadix
Calculates azimuth for vector in degrees
Public methodStatic memberAzimuthRad
Calculates azimuth for vector in rads
Public methodStatic memberCalculatePerimeterViolationArea
Calculates an area of an inner rectangle that violates outside perimeter
Public methodStatic memberDistance(Point, Point)
Calculates distance between two points
Public methodStatic memberDistance(PointF, PointF)
Calculates distance between two points
Public methodStatic memberDistance(Int32, Int32, Int32, Int32)
Calculates distance between two points
Public methodStatic memberDistance(Single, Single, Single, Single)
Calculates distance between two points
Public methodStatic memberFindRayFromRectangleCenterSideIntersection
Returns a point of intersection between a ray cast from the center of a rectangle under certain polar coordinate angle and a rectangle side
Public methodStatic memberMapDirectionToAngle
Converts map direction to angular coordinate in radians
Public methodStatic memberPointToPolarPoint
Converts Point to polar coordinate point
Public methodStatic memberToDeg
Converts radians into degrees
Public methodStatic memberToRad
Converts degrees into radians
Public methodStatic memberVectorToPolarPoint
Converts vector in 'x1, y1, x2, y2' representation to polar coordinate point
Public methodStatic memberWrapAngle
Modifies an angle by delta value ensuring that resulting angle is always between 0 and 2Pi
Back to Top
Fields

  NameDescription
Public fieldStatic memberPI_DEGREES
Represents count of degrees in PI
Public fieldStatic memberPI_HALF
Pi/2 constant
Public fieldStatic memberPI2
Pi*2 constant
Back to Top
See Also