The following tables list the members exposed by Geometry.
Name | Description | |
---|---|---|
DegreeAsRadian | The constant used to convert degrees to radians. | |
RadianAsDegree | The constant used to convert radians to degrees. |
Name | Description | |
---|---|---|
AngleFromSlope | Returns the angle of a line with the given slope. | |
AngularToCartesian | Overloaded. Returns a point (XY) using the given radial coordinates (center, radius, angle). | |
AngularToCartesianReverse | Overloaded. Returns the angle of the given point, existing in a circle with the given center and radius. | |
Average | Overloaded. Returns the average of the two points using the formula {(p1.X + p2.X) / 2, (p1.Y + p2.Y) / 2}. | |
CenterOf | Overloaded. Returns the center point of the given rectangle. | |
ConstrainToSquareBounds | Ensures the square bounds for given rectangle. | |
DegreeToRadian | Returns the given degree, expressed in radians. | |
Distance | Returns the distance between two points. | |
Eccentricity | Overloaded. Returns the eccentricity of an ellipse with the given bounds. | |
EllipsePointAlternate | Overloaded. Alternate formula for finding a point on an ellipse. | |
Inflate | Inflates the given size by a multiplier. | |
PercentOfBounds | Overloaded. Returns a rectangle which is a percentage of the given rectangle. | |
PointOnEllipse | Overloaded. Returns a point on the circumference of an ellipse at the given angle. | |
PointOnLine | Returns a point at a given percentage from a start point to an end point. | |
RadianToDegree | Returns the given radian value, expressed in degrees. | |
ResolvePixelBounds | Overloaded. Returns a rectangle expressed as a percentage of another rectangle. | |
SimplifyAngle | Simplifies the given angle to a value between 0 and 360. | |
Slope | Overloaded. Returns the slope of a line which passes through two points. |