LineString

com.phasmidsoftware.xmldoc.kml.LineString
See theLineString companion object
case class LineString(maybeTessellate: Option[Tessellate], coordinates: Seq[Coordinates])(geometryData: GeometryData) extends Geometry

Case class LineString which extends Geometry.

See LineString

Value parameters

coordinates

a sequence of Coordinates objects.

maybeTessellate

the (optional) tessellation.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Geometry
trait KmlObject
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def invert: Option[LineString]

Returns an inverted version of this LineString, where the order of the coordinates in each sequence is reversed.

Returns an inverted version of this LineString, where the order of the coordinates in each sequence is reversed.

Attributes

Returns

an Option containing the inverted LineString instance if successful.

Definition Classes
override def merge(g: Geometry, mergeName: Boolean = ...): Option[Geometry]

Merges this LineString instance with the given Geometry instance.

Merges this LineString instance with the given Geometry instance.

This method attempts to merge the attributes and data of the current LineString instance with the provided Geometry instance if it is of type LineString. The merging process involves combining tessellations, geometry data, and coordinate sequences, with each step subject to specific merge rules.

Value parameters

g

the Geometry instance to merge with.

mergeName

a Boolean indicating whether to merge names (default is true).

Attributes

Returns

an Option containing the merged LineString instance if successful, or None otherwise.

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product

Concrete fields