mindee-api-dotnet

Utils.CompareOnX Method

Declaring Type: Utils
Namespace: Mindee.Geometry
Assembly: Mindee
Assembly Version: 3.22.0+aa1b44d54eab23ff2156f9ad9391c70a961697c0

Compare two polygons based on their X coordinates. Useful for sorting lists.

public static int CompareOnX(Polygon polygon1, Polygon polygon2);

Parameters

polygon1 Polygon

polygon2 Polygon

Returns

int


Documentation generated by MdDocs