Builder

The Builder for ModelSource.

class Builder(sourceId: String)

Parameters

sourceId

the ID of the source

Constructors

Builder
Link copied to clipboard

the ID of the source

fun Builder(sourceId: String)

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

build
Link copied to clipboard

Build the ModelSource.

fun build(): ModelSource
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
orientation
Link copied to clipboard

Orientation of the default model specified in x, y, z in degree. In practice +x axis is facing east, +z is facing south and +y is up

fun orientation(value: List<Double>): ModelSource.Builder

Orientation of the model with model name specified in x, y, z in degree. In practice +x axis is facing east, +z is facing south and +y is up

fun orientation(modelName: String, value: List<Double>): ModelSource.Builder
position
Link copied to clipboard

Position of default model specified in longitude, latitude pairs.

fun position(value: List<Double>): ModelSource.Builder

Position of the model with model name specified in longitude, latitude pairs.

fun position(modelName: String, value: List<Double>): ModelSource.Builder
toString
Link copied to clipboard
open override fun toString(): String
url
Link copied to clipboard

URL that points to the default model.

fun url(value: String): ModelSource.Builder

URL that points to an model with model name.

fun url(modelName: String, value: String): ModelSource.Builder

Properties

sourceId
Link copied to clipboard

the ID of the source

val sourceId: String