mindee-api-dotnet

Polygon Class

Namespace: Mindee.Geometry
Assembly: Mindee
Assembly Version: 3.22.0+aa1b44d54eab23ff2156f9ad9391c70a961697c0

A set of points.

public class Polygon : List<Point>

Inheritance: object → List<T> → Polygon

Constructors

Name Description
Polygon(IEnumerable<Point>)  
Polygon(List<List<double>>)  

Methods

Name Description
GetCentroid() Get the centroid of the current polygon.
GetMaxX() Get the X max coordinate.
GetMaxY() Get the Y max coordinate.
GetMinX() Get the X min coordinate.
GetMinY() Get the Y min coordinate.
IsPointInY(Point) Determine if a Point is within the polygon’s Y coordinates.
ToJsonString() A string representation suitable for outputting to JSON.
ToString() The default string representation.

Documentation generated by MdDocs