Class/Object

geotrellis.vector

Point

Related Docs: object Point | package vector

Permalink

case class Point(jtsGeom: com.vividsolutions.jts.geom.Point) extends Geometry with ZeroDimensions with Product with Serializable

Class representing a point

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

Instance Constructors

  1. new Point(jtsGeom: com.vividsolutions.jts.geom.Point)

    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 &(g: MultiPolygon): PointOrNoResult

    Permalink

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

  4. def &(g: MultiLine): PointOrNoResult

    Permalink

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

  5. def &(g: MultiPoint): PointOrNoResult

    Permalink

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

  6. def &(g: Polygon): PointOrNoResult

    Permalink

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

  7. def &(g: Line): PointOrNoResult

    Permalink

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

  8. def &(g: Point): PointOrNoResult

    Permalink

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

  9. def &(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
  10. def -(other: Geometry): PointGeometryDifferenceResult

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. 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
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def buffer(d: Double): Polygon

    Permalink

    Computes a buffer area around this Point having width d.

  15. def centroid: PointOrNoResult

    Permalink

    Calculate centroid of this Geometry

    Calculate centroid of this Geometry

    Definition Classes
    Geometry
  16. def clone(): AnyRef

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

    Permalink

    Tests whether this Point contains the specified ZeroDimensions g.

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

  18. def coveredBy(g: Geometry): Boolean

    Permalink

    Tests whether this Point is covered by the specified Geometry g.

    Tests whether this Point is covered by the specified Geometry 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: ZeroDimensions): Boolean

    Permalink

    Tests whether this Point covers the specified ZeroDimensions g.

    Tests whether this Point covers the specified ZeroDimensions 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 difference(other: Geometry): PointGeometryDifferenceResult

    Permalink

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

  21. def disjoint(other: Geometry): Boolean

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

    Permalink

    Calculate the distance to another Geometry

    Calculate the distance to another Geometry

    Definition Classes
    Geometry
  23. def distanceToInfiniteLine(a: Point, b: Point): Double

    Permalink
  24. def distanceToSegment(a: Point, b: Point): Double

    Permalink
  25. def envelope: Extent

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

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

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

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

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

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

    Permalink
    Definition Classes
    Geometry
  32. def intersection(g: MultiPolygon): PointOrNoResult

    Permalink

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

  33. def intersection(g: MultiLine): PointOrNoResult

    Permalink

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

  34. def intersection(g: MultiPoint): PointOrNoResult

    Permalink

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

  35. def intersection(g: Polygon): PointOrNoResult

    Permalink

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

  36. def intersection(g: Line): PointOrNoResult

    Permalink

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

  37. def intersection(g: Point): PointOrNoResult

    Permalink

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

  38. 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
  39. 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
  40. def intersects(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  41. 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
  42. def isInRing(l: Line): Boolean

    Permalink
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. def isOnLine(l: Line): Boolean

    Permalink
  45. def isValid: Boolean

    Permalink

    Check the validity of this geometry

    Check the validity of this geometry

    Definition Classes
    Geometry
  46. val jtsGeom: com.vividsolutions.jts.geom.Point

    Permalink

    Return the wrapped jts Geometry

    Return the wrapped jts Geometry

    Definition Classes
    PointDimensionsGeometry
  47. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  48. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  50. def symDifference(mp: MultiPolygon): PointMultiPolygonSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of this Point, if it is not in mp, and all the points in mp that are not this Point.

  51. def symDifference(ml: MultiLine): PointMultiLineSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of this Point, if it is not in ml, and all the points in ml that are not this Point.

  52. def symDifference(mp: MultiPoint): ZeroDimensionsMultiPointSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of this Point, if it is not in mp, and all the points in mp that are not this Point.

  53. def symDifference(p: Polygon): AtMostOneDimensionPolygonSymDifferenceResult

    Permalink

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

  54. def symDifference(l: Line): ZeroDimensionsLineSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of this Point, if it is not in l, and all the points in l that are not this Point.

  55. def symDifference(p: Point): PointPointSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of this Point, if it is not in p, and p if it is not this Point.

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

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

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

    Permalink

    Tests whether this Point touches the specified AtLeastOneDimensions g.

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

  59. def union(mp: MultiPolygon): PointMultiPolygonUnionResult

    Permalink

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

  60. def union(ml: MultiLine): PointMultiLineUnionResult

    Permalink

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

  61. def union(p: Polygon): AtMostOneDimensionPolygonUnionResult

    Permalink

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

  62. def union(l: Line): ZeroDimensionsLineUnionResult

    Permalink

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

  63. def union(g: ZeroDimensions): PointZeroDimensionsUnionResult

    Permalink

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

  64. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. def within(g: Geometry): Boolean

    Permalink

    Tests whether this Point is within the specified Geometry g.

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

  68. 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
  69. val x: Double

    Permalink

    The Point's x-coordinate

  70. val y: Double

    Permalink

    The Point's y-coordinate

  71. def |(mp: MultiPolygon): PointMultiPolygonUnionResult

    Permalink

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

  72. def |(ml: MultiLine): PointMultiLineUnionResult

    Permalink

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

  73. def |(p: Polygon): AtMostOneDimensionPolygonUnionResult

    Permalink

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

  74. def |(l: Line): ZeroDimensionsLineUnionResult

    Permalink

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

  75. def |(g: ZeroDimensions): PointZeroDimensionsUnionResult

    Permalink

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

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 ZeroDimensions

Inherited from AtMostOneDimension

Inherited from Dimensions

Inherited from Geometry

Inherited from AnyRef

Inherited from Any

Ungrouped