builder

fun builder(geometry: Geometry): GeometryBuilder<*>

Creates a geometry builder with the specified geometry as a starting point for further modification. Geometries with curves are supported.

Return

A new geometry builder.

Since

200.1.0

Parameters

geometry

The geometry to use as the starting point for further modifications.

See also

Throws

Indicates that the provided Geometry has an unknown GeometryType.


fun builder(geometryType: GeometryType, spatialReference: SpatialReference?): GeometryBuilder<*>

Creates an empty geometry builder which builds geometries of the specified GeometryType.

Return

A new geometry builder.

Since

200.1.0

Parameters

geometryType

The builder's geometry type.

spatialReference

The builder's spatial reference.

See also

Throws

if the given geometry type is unknown