geotrellis.vector

Line

case class Line(jtsGeom: LineString) extends Geometry with Relatable with OneDimension with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, OneDimension, AtLeastOneDimension, AtMostOneDimension, Dimensions, Relatable, Geometry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Line
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OneDimension
  7. AtLeastOneDimension
  8. AtMostOneDimension
  9. Dimensions
  10. Relatable
  11. Geometry
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Line(jtsGeom: LineString)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def &(g: AtLeastOneDimension): OneDimensionAtLeastOneDimensionIntersectionResult

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

  5. def &(mp: MultiPoint): MultiPointAtLeastOneDimensionIntersectionResult

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

  6. def &(p: Point): PointGeometryIntersectionResult

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

  7. def -(g: AtLeastOneDimension): LineAtLeastOneDimensionDifferenceResult

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

  8. def -(g: ZeroDimensions): LineResult

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

  9. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. lazy val boundary: OneDimensionBoundaryResult

    Returns the boundary of this Line.

    Returns the boundary of this Line. The boundary of a non-closed Line consists of its two end points. The boundary of a closed Line is empty.

  13. def buffer(d: Double): Polygon

    Computes a buffer area around this Line having width d.

  14. def centroid: PointOrNoResult

    Definition Classes
    Geometry
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def closed(): Line

    Returns a closed version of the line.

    Returns a closed version of the line. If already closed, just return this.

  17. def contains(g: AtMostOneDimension): Boolean

    Tests whether this Line contains the specified AtMostOneDimension g.

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

  18. def coveredBy(g: AtLeastOneDimension): Boolean

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

    Tests whether this Line 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***.

  19. def covers(g: AtMostOneDimension): Boolean

    Tests whether this Line covers the specified AtMostOneDimensions g.

    Tests whether this Line covers the specified AtMostOneDimensions 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*.

  20. def crosses(g: AtLeastOneDimension): Boolean

    Tests whether this Line crosses the specified AtLeastOneDimension g.

    Tests whether this Line 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/A).

  21. def crosses(mp: MultiPoint): Boolean

    Tests whether this Line crosses the specified MultiPoint mp.

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

  22. def difference(g: AtLeastOneDimension): LineAtLeastOneDimensionDifferenceResult

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

  23. def difference(g: ZeroDimensions): LineResult

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

  24. def disjoint(other: Geometry): Boolean

    Definition Classes
    Relatable
  25. def distance(other: Geometry): Double

    Definition Classes
    Geometry
  26. def envelope: Extent

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

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

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

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

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

    Definition Classes
    Geometry → AnyRef → Any
  32. def interiorPoint: PointOrNoResult

    Definition Classes
    Geometry
  33. def intersection(g: AtLeastOneDimension): OneDimensionAtLeastOneDimensionIntersectionResult

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

  34. def intersection(mp: MultiPoint): MultiPointAtLeastOneDimensionIntersectionResult

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

  35. def intersection(p: Point): PointGeometryIntersectionResult

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

  36. def intersects(other: Geometry): Boolean

    Definition Classes
    Relatable
  37. lazy val isClosed: Boolean

    Tests if the initial vertex equals the final vertex.

  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. lazy val isSimple: Boolean

    Tests whether this Line is simple.

    Tests whether this Line is simple. A Line is simple iff it does not self-intersect at points other than boundary points.

  40. def isValid: Boolean

    Definition Classes
    Geometry
  41. val jtsGeom: LineString

    Definition Classes
    LineDimensionsGeometry
  42. lazy val length: Double

    Returns the length of this Line.

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

    Definition Classes
    AnyRef
  44. def normalized(): Line

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

  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

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

    Tests whether this Line overlaps the specified OneDimension g.

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

  48. def points: Array[Point]

  49. def symDifference(mp: MultiPolygon): LineMultiPolygonSymDifferenceResult

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

  50. def symDifference(p: Polygon): AtMostOneDimensionPolygonSymDifferenceResult

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

  51. def symDifference(g: OneDimension): OneDimensionOneDimensionSymDifferenceResult

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

  52. def symDifference(g: ZeroDimensions): ZeroDimensionsLineSymDifferenceResult

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

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

    Definition Classes
    AnyRef
  54. def toString(): String

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

    Tests whether this Line touches the specified Geometry g.

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

  56. def union(mp: MultiPolygon): LineMultiPolygonUnionResult

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

  57. def union(p: Polygon): AtMostOneDimensionPolygonUnionResult

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

  58. def union(g: OneDimension): LineOneDimensionUnionResult

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

  59. def union(g: ZeroDimensions): ZeroDimensionsLineUnionResult

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

  60. lazy val vertexCount: Int

    Get the number of vertices in this geometry

  61. def vertices: Array[Point]

    Returns this Line's vertices.

  62. final def wait(): Unit

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

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

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

    Tests whether this Line is within the specified AtLeastOneDimension g.

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

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

    Definition Classes
    Geometry
  67. def |(mp: MultiPolygon): LineMultiPolygonUnionResult

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

  68. def |(p: Polygon): AtMostOneDimensionPolygonUnionResult

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

  69. def |(g: OneDimension): LineOneDimensionUnionResult

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

  70. def |(g: ZeroDimensions): ZeroDimensionsLineUnionResult

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

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 Relatable

Inherited from Geometry

Inherited from AnyRef

Inherited from Any

Ungrouped