mindee-api-dotnet

Polygon Class

Namespace: Mindee.Geometry
Assembly: Mindee
Assembly Version: 3.13.0+eab8cb726dfe6c5eac4fe379821ed5e1a7a970c3

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