EHorizonOptions

class EHorizonOptions

Defines options for EHorizon.

Parameters

length

the minimum length of the MPP in meters. This does not include the trailingLength. The actual MPP length may be bigger. Double in range 1.0, 20000.0. Default value 500.0

expansion

the number of branches to include from the MPP. When set to 0 only the MPP is returned. Higher values will result in deeper nesting. Int in range 0, 2. Default value 0

branchLength

when expansion is set to anything but 0, this specifies the minimum length in meters branches will be expanded from the MPP. Double in range 1.0, 5000.0. Default value 50.0

includeGeometries

will geometries be included for edges. Excluding the edge shapes may save some processing time on shape extraction and decoding. Boolean to enable/disable. Default value false

Types

Builder
Link copied to clipboard
class Builder
Build a new EHorizonOptions

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): EHorizonOptions.Builder
Get a builder to customize a subset of current options.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

branchLength
Link copied to clipboard
val branchLength: Double
when expansion is set to anything but 0, this specifies the minimum length in meters branches will be expanded from the MPP.
expansion
Link copied to clipboard
val expansion: Int
the number of branches to include from the MPP.
includeGeometries
Link copied to clipboard
val includeGeometries: Boolean
will geometries be included for edges.
length
Link copied to clipboard
val length: Double
the minimum length of the MPP in meters.