Share via


GeometryUtil Class

Definition

Provides utility methods for geometric calculations.

public ref class GeometryUtil abstract sealed
public static class GeometryUtil
type GeometryUtil = class
Public Class GeometryUtil
Inheritance
GeometryUtil

Fields

Epsilon

A small value used for floating-point comparisons to account for precision errors.

Methods

DegreesToRadians(Double)
DegreesToRadians(Single)
EllipseAngleToPoint(Single, Single, Single, Single, Single)

Gets the point on an ellipse that corresponds to the given angle.

GetAngleAsDegrees(Single, Single, Single, Single)

Calculates the angle in degrees between two points relative to the horizontal axis.

GetDistance(Single, Single, Single, Single)

Calculates the distance between two points.

GetFactor(Single, Single, Single)
GetLinearValue(Single, Single, Single)
GetOppositePoint(PointF, PointF)
GetSweep(Single, Single, Boolean)
IsLineIntersectingLine(Single, Single, Single, Single, Single, Single, Single, Single)
PolarToPoint(Single, Single, Single)
RadiansToDegrees(Double)
RadiansToDegrees(Single)
RotatePoint(PointF, PointF, Single)
RotatePoint(PointF, Single)

Applies to