Geometry class
Helper class which contains basic Geometric calculations for lines, polygons, and other shapes.
public static class Geometry
Public Members
name | description |
---|---|
static Centroid(…) | Calculates the center of gravity for a Polygon given an array of Points. (2 methods) |
static Concave(…) | Determines whether a polygon is considered Concave, where at least one interior angle is between 180 and 360 degrees. (2 methods) |
static Convex(…) | Determines whether a polygon is considered Convex, where all interior angles are less than 180 degrees. (2 methods) |
static InsidePolygon(…) | Determines whether a given point is inside a polygon defined by a list of points (2 methods) |
static Length(…) | Calculates the linear distance between two points (2 methods) |
static PolygonArea(…) | Calculates the area of a Polygon given an array of Points. (2 methods) |
See Also
- namespace TheCodingMonkey.Math