HapiPolyline

data class HapiPolyline(crd: List<Double>, name: String?, delta: Boolean, dim: Int, type: HapiCoord.Type, crdEncYX: String?, crdEncZ: String?, crdEncS: String?)

Describes a polyline structure

Constructors

HapiPolyline
Link copied to clipboard
fun HapiPolyline(crd: List<Double> = emptyList(), name: String?, delta: Boolean, dim: Int = 2, type: HapiCoord.Type = HapiCoord.Type.WGS84, crdEncYX: String?, crdEncZ: String?, crdEncS: String?)

Properties

crd
Link copied to clipboard
val crd: List<Double>

List of coordinates. Attribute "dim" defines how many items are used to build one coordinate tuple. In case of dim=3, z is in meter per default.

crdEncS
Link copied to clipboard
val crdEncS: String?

Encoded quantifier.

crdEncYX
Link copied to clipboard
val crdEncYX: String?

Encoded YX coordinate values.

crdEncZ
Link copied to clipboard
val crdEncZ: String?

Encoded Z coordinate values.

delta
Link copied to clipboard
val delta: Boolean

true: After the first item of the coordinates list only diff values are listed. false: list of coordinates contains complete coordinates.

dim
Link copied to clipboard
val dim: Int = 2

Count of coordinate elements building one coordinate tuple. (2: x1, y1, x2, y2, ...; 3: x1, y1, z1, x2, y2, z2, ...)

name
Link copied to clipboard
val name: String?
type
Link copied to clipboard
val type: HapiCoord.Type