new WktMultiLineString()
It represents multiple line string as one object.
Extends
Members
coordinates :Array.<Position>|Array.<Location>
Type:
- Overrides:
- Source:
options :Object
Options contains information relevant for parsing of this specific Object. Basically processed tokens, parsed
coordinates and amounts of parntheses used to find out whether the object was already finished.
Type:
- Object
- Inherited From:
- Source:
type :WKTType
Type of this object.
Type:
- WKTType
- Inherited From:
- Source:
Methods
addCoordinates()
Array containing latitude, longitude and potentially either altitude or LRS.
- Inherited From:
- Source:
commaWithoutCoordinates()
Specific for Multi objects as it depicts the boundaries.
- Overrides:
- Source:
handleToken(token)
Token handling is delegated to the objects.
Parameters:
Name | Type | Description |
---|---|---|
token |
Object | It contains type and value. |
- Inherited From:
- Source:
isFinished() → {Boolean}
It returns true when the object is finished.
- Inherited From:
- Source:
Returns:
True if the parentheses are closed, false otherwise
- Type
- Boolean
set3d()
It sets the information that this object is actually represented in 3D
- Inherited From:
- Source:
setLrs()
It sets the information that the object contain information about LRS offset.
- Inherited From:
- Source:
setOptions(text, currentObject)
It sets the options of the current object. This means setting up the 3D and the linear space.
Parameters:
Name | Type | Description |
---|---|---|
text |
String | Specific text used as options. |
currentObject |
WktObject | Object to apply the options to. |
- Inherited From:
- Source:
shapes() → {Array.<Renderable>}
It is used to retrieve and create the shape or shapes associated.
- Overrides:
- Source:
Returns:
Array of renderables associated with given shape.
- Type
- Array.<Renderable>