mindee-api-dotnet

Polygon Class

Namespace: Mindee.Geometry
Assembly: Mindee
Assembly Version: 3.21.0+995c229708fe61b0dacbe0bfca8ad9e39db87623

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