Table of Contents

Constructor GeoPolygon2

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoPolygon2(IEnumerable<GeoPoint2>)

Initializes a new polygon from a list of vertices. Duplicate vertex at the end to close the loop will be automatically removed.

public GeoPolygon2(IEnumerable<GeoPoint2> vertices)

Parameters

vertices IEnumerable<GeoPoint2>

List of vertices.

GeoPolygon2(params GeoPoint2[])

Initializes a new polygon directly from parameter vertices.

public GeoPolygon2(params GeoPoint2[] vertices)

Parameters

vertices GeoPoint2[]