withGeometry abstract method

PolygonDataBuilder withGeometry(
  1. GeoPolygon geometry
)

Configures the builder with geometry for the polygon to be created.

  • geometry Geometry of the polygon. The outer boundary has to be ordered clockwise and closed. Any inner boundary has to be ordered counterclockwise and closed. Altitude of boundary vertices is ignored. The visual behaviour for self-intersecting outer boundary is undefined.

Returns PolygonDataBuilder. The builder.

Implementation

PolygonDataBuilder withGeometry(GeoPolygon geometry);