Class/Object

geotrellis.vector

MultiLine

Related Docs: object MultiLine | package vector

Permalink

case class MultiLine(jtsGeom: MultiLineString) extends MultiGeometry with OneDimension with Product with Serializable

Class representing a geometry of multiple lines

Linear Supertypes
Serializable, Serializable, Product, Equals, OneDimension, AtLeastOneDimension, AtMostOneDimension, Dimensions, MultiGeometry, Geometry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiLine
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OneDimension
  7. AtLeastOneDimension
  8. AtMostOneDimension
  9. Dimensions
  10. MultiGeometry
  11. Geometry
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiLine(jtsGeom: MultiLineString)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(mp: MultiPoint): MultiPointAtLeastOneDimensionIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this MultiLine and mp.

  4. def &(g: AtLeastOneDimension): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this MultiLine and g.

  5. def &(p: Point): PointOrNoResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this MultiLine and p.

  6. def &(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
  7. def -(g: Geometry): MultiLineGeometryDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in g.

  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def as[G <: Geometry](implicit arg0: ClassTag[G]): Option[G]

    Permalink

    Attempt to convert this Geometry to the provided type

    Attempt to convert this Geometry to the provided type

    Definition Classes
    Geometry
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. lazy val boundary: OneDimensionBoundaryResult

    Permalink

    Returns the boundary of this MultiLine.

    Returns the boundary of this MultiLine. The boundary of a non-closed MultiLine consists of all the end points of the non-closed lines that make up the MultiLine. The boundary of a closed MultiLine is empty.

  12. def buffer(d: Double): TwoDimensionsTwoDimensionsUnionResult

    Permalink

    Computes a area containing these geometries and buffered by size d.

    Computes a area containing these geometries and buffered by size d.

    Definition Classes
    MultiGeometry
  13. def centroid: PointOrNoResult

    Permalink

    Calculate centroid of this Geometry

    Calculate centroid of this Geometry

    Definition Classes
    Geometry
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def contains(g: AtMostOneDimension): Boolean

    Permalink

    Tests whether this MultiLine contains the specified AtMostOneDimension g.

    Tests whether this MultiLine contains the specified AtMostOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****FF*.

  16. def coveredBy(g: AtLeastOneDimension): Boolean

    Permalink

    Tests whether this MultiLine is covered by the specified AtLeastOneDimension g.

    Tests whether this MultiLine is covered by the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*F**F*** or *TF**F*** or **FT*F*** or **F*TF***.

  17. def covers(g: AtMostOneDimension): Boolean

    Permalink

    Tests whether this MultiLine covers the specified AtMostOneDimension g.

    Tests whether this MultiLine covers the specified AtMostOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****FF* or *T****FF* or ***T**FF* or ****T*FF*.

  18. def crosses(g: AtLeastOneDimension): Boolean

    Permalink

    Tests whether this MultiLine crosses the specified AtLeastOneDimension g.

    Tests whether this MultiLine crosses the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is 0******** (L/L) or T*****T** (L/P and L/A).

  19. def crosses(mp: MultiPoint): Boolean

    Permalink

    Tests whether this MultiLine crosses the specified MultiPoint mp.

    Tests whether this MultiLine crosses the specified MultiPoint mp. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****T** (L/P).

  20. def difference(g: Geometry): MultiLineGeometryDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in g.

  21. def difference(): MultiLineMultiLineDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in the first line that are not in the other contained lines.

  22. def disjoint(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  23. def distance(other: Geometry): Double

    Permalink

    Calculate the distance to another Geometry

    Calculate the distance to another Geometry

    Definition Classes
    Geometry
  24. def envelope: Extent

    Permalink
    Definition Classes
    Geometry
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  30. def interiorPoint: PointOrNoResult

    Permalink
    Definition Classes
    Geometry
  31. def intersection(mp: MultiPoint): MultiPointAtLeastOneDimensionIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this MultiLine and mp.

  32. def intersection(g: AtLeastOneDimension): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this MultiLine and g.

  33. def intersection(p: Point): PointOrNoResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this MultiLine and p.

  34. def intersection(): MultiLineMultiLineIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by the contained lines.

  35. def intersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.

    Definition Classes
    Geometry
  36. def intersectionSafe(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g. If it fails, it reduces the precision to avoid TopologyException.

    Definition Classes
    Geometry
  37. def intersects(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  38. lazy val isClosed: Boolean

    Permalink

    Tests if the initial vertex equals the final vertex for every Line in this MultiLine.

  39. def isEmpty: Boolean

    Permalink

    Is this Geometry empty? This is faster than checking manually like:

    Is this Geometry empty? This is faster than checking manually like:

    val mp: MultiPoint = ...
    val ps: Array[Point] = mp.points  // `.points` is a lazy val with processing overhead
    
    ps.isEmpty  // possible, but mp.isEmpty is faster

    It would be similar for MultiLine or MultiPolygon.

    Definition Classes
    Geometry
  40. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  41. def isValid: Boolean

    Permalink

    Check the validity of this geometry

    Check the validity of this geometry

    Definition Classes
    Geometry
  42. val jtsGeom: MultiLineString

    Permalink

    Return the wrapped jts Geometry

    Return the wrapped jts Geometry

    Definition Classes
    MultiLineDimensionsGeometry
  43. lazy val lines: Array[Line]

    Permalink

    Returns the Lines contained in this MultiLine.

  44. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. def normalized(): MultiLine

    Permalink

    Returns a unique representation of the geometry based on standard coordinate ordering.

  46. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. def overlaps(g: OneDimension): Boolean

    Permalink

    Tests whether this MultiLine overlaps the specified OneDimension g.

    Tests whether this MultiLine overlaps the specified OneDimension g. Returns true if The DE-9IM Intersection Matrix for the two geometries is 1*T***T**.

  49. def symDifference(mp: MultiPolygon): MultiLineMultiPolygonSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in mp and all the points in mp that are not in this MultiLine.

  50. def symDifference(p: Polygon): AtMostOneDimensionPolygonSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in p and all the points in p that are not in this MultiLine.

  51. def symDifference(g: OneDimension): OneDimensionOneDimensionSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in g and all the points in g that are not in this MultiLine.

  52. def symDifference(mp: MultiPoint): MultiPointMultiLineSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in mp and all the points in mp that are not in this MultiLine.

  53. def symDifference(p: Point): PointMultiLineSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in p and the point p if it is not in this MultiLine.

  54. def symDifference(): MultiLineMultiLineSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in the contained lines that are unique to one line.

  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  56. def toString(): String

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  57. def touches(g: Geometry): Boolean

    Permalink

    Tests whether this MultiLine touches the specified Geometry g.

    Tests whether this MultiLine touches the specified Geometry g. Returns true if the DE-9IM Intersection Matrix for the two geometries is FT*******, F**T***** or F***T****.

  58. def union(mp: MultiPolygon): MultiLineMultiPolygonUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.

  59. def union(ml: MultiLine): MultiLineMultiLineUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and ml.

  60. def union(mp: MultiPoint): MultiPointMultiLineUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.

  61. def union(p: Polygon): AtMostOneDimensionPolygonUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.

  62. def union(l: Line): LineOneDimensionUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and l.

  63. def union(p: Point): PointMultiLineUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.

  64. def union(): MultiLineMultiLineUnionResult

    Permalink

    Computes the union of contained lines.

    Computes the union of contained lines. Useful for merging overlapping line segments.

  65. lazy val vertexCount: Int

    Permalink

    Get the number of vertices in this geometry

  66. lazy val vertices: Array[Point]

    Permalink

    Returns this MulitLine's vertices.

  67. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. def within(g: AtLeastOneDimension): Boolean

    Permalink

    Tests whether this MultiLine is within the specified AtLeastOneDimension g.

    Tests whether this MultiLine is within the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*F**F***.

  71. def withinDistance(other: Geometry, dist: Double): Boolean

    Permalink

    Determine whether another Geometry is within a given distance

    Determine whether another Geometry is within a given distance

    other

    The geometry to check

    dist

    The radius of the circle within which this check is conducted

    Definition Classes
    Geometry
  72. def |(mp: MultiPolygon): MultiLineMultiPolygonUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.

  73. def |(ml: MultiLine): MultiLineMultiLineUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and ml.

  74. def |(mp: MultiPoint): MultiPointMultiLineUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.

  75. def |(p: Polygon): AtMostOneDimensionPolygonUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.

  76. def |(l: Line): LineOneDimensionUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and l.

  77. def |(p: Point): PointMultiLineUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.

Deprecated Value Members

  1. def safeIntersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2) This will be removed in 2.0 - use intersectionSafe instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OneDimension

Inherited from AtLeastOneDimension

Inherited from AtMostOneDimension

Inherited from Dimensions

Inherited from MultiGeometry

Inherited from Geometry

Inherited from AnyRef

Inherited from Any

Ungrouped