EnvelopeBuilder

constructor(envelope: Envelope?, block: EnvelopeBuilder.() -> Unit = {})

Creates an envelope builder from the specified Envelope.

The SpatialReference of the new envelope builder will match that of the given Envelope. Use this constructor in workflows that create a modified version of an existing geometry.

Since

200.1.0

Parameters

envelope

a Envelope from which to start this builder

block

a trailing lambda parameter from within which to configure the builder.

See also


constructor(spatialReference: SpatialReference? = null, block: EnvelopeBuilder.() -> Unit = {})

Creates an envelope builder.

Since

200.1.0

Parameters

spatialReference

a SpatialReference from which to start this builder

block

a trailing lambda parameter from within which to configure the builder.


constructor(center: Point, width: Double, height: Double, depth: Double? = null, block: EnvelopeBuilder.() -> Unit = {})

Creates an envelope builder from a center point, width, height, depth, and configuration lambda.

Since

200.1.0

Parameters

center

the center point of the Envelope

width

the width of the envelope around the center point

height

the height of the envelope around the center point

depth

the depth of the envelope around the center point, or null if no depth (no z-values). Defaults to null.

block

a lambda within which to configure the builder