withGeometry abstract method

LineDataBuilder withGeometry(
  1. GeoPolyline geometry
)

Configures the builder with geometry for line to be created.

  • geometry Geometry of the polyline. Each vertex defines two line segments: one with a previous vertex and one with a next vertex. First and last vertices don't have resp. previous and next vertices and thus belong to single line segments. Consecutive duplicate vertices are ignored. Altitude of polyline vertices is ignored.

Returns LineDataBuilder. The builder.

Implementation

LineDataBuilder withGeometry(GeoPolyline geometry);