Show / Hide Table of Contents

Class GridPolygonUtils

Class implementing utility functions for grid polygons.

Inheritance
System.Object
GridPolygonUtils
Implements
IPolygonUtils<PolygonGrid2D>
Namespace: Edgar.Legacy.GeneralAlgorithms.Algorithms.Polygons
Assembly: Edgar.dll
Syntax
public class GridPolygonUtils : Object, IPolygonUtils<PolygonGrid2D>

Constructors

GridPolygonUtils()

Declaration
public GridPolygonUtils()

Methods

NormalizePolygon(PolygonGrid2D)

Returns the same polygon but with vertices ordered in a way that the point with the smallest X (and smallest Y if there are multiple) is the first one.

Declaration
public PolygonGrid2D NormalizePolygon(PolygonGrid2D polygon)
Parameters
Type Name Description
PolygonGrid2D polygon
Returns
Type Description
PolygonGrid2D

Implements

IPolygonUtils<T>
Back to top Generated by DocFX