Class PolygonGrid2DBuilder
Helper class for creating polygons.
Inheritance
System.Object
PolygonGrid2DBuilder
Namespace: Edgar.Geometry
Assembly: Edgar.dll
Syntax
public class PolygonGrid2DBuilder : Object
Constructors
PolygonGrid2DBuilder()
Declaration
public PolygonGrid2DBuilder()
Methods
AddPoint(Int32, Int32)
Adds point to the polygon.
Declaration
public PolygonGrid2DBuilder AddPoint(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y |
Returns
Type | Description |
---|---|
PolygonGrid2DBuilder |
Build()
Builds the polygon from added points.
Declaration
public PolygonGrid2D Build()
Returns
Type | Description |
---|---|
PolygonGrid2D |