Class/Object

geotrellis.vector

MultiPoint

Related Docs: object MultiPoint | package vector

Permalink

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

Class representing a geometry of multiple points

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

Instance Constructors

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

    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: AtLeastOneDimension): MultiPointAtLeastOneDimensionIntersectionResult

    Permalink

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

  4. def &(mp: MultiPoint): MultiPointMultiPointIntersectionResult

    Permalink

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

  5. def &(p: Point): PointOrNoResult

    Permalink

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

  6. def &(): MultiPointMultiPointIntersectionResult

    Permalink

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

  7. def &(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
  8. def -(g: Geometry): MultiPointGeometryDifferenceResult

    Permalink

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

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

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

    Permalink
    Definition Classes
    Any
  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: ZeroDimensions): Boolean

    Permalink

    Tests whether this MultiPoint contains the specified ZeroDimensions g.

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

  16. def coveredBy(g: Geometry): Boolean

    Permalink

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

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

  17. def covers(g: ZeroDimensions): Boolean

    Permalink

    Tests whether this MultiPoint covers the specified ZeroMostOneDimensions g.

    Tests whether this MultiPoint covers the specified ZeroMostOneDimensions 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 MultiPoint crosses the specified AtLeastOneDimension g.

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

  19. def difference(g: Geometry): MultiPointGeometryDifferenceResult

    Permalink

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

  20. def difference(): MultiPointMultiPointDifferenceResult

    Permalink

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

  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 envelope: Extent

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

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

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

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

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

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

    Permalink
    Definition Classes
    Geometry
  30. def intersection(g: AtLeastOneDimension): MultiPointAtLeastOneDimensionIntersectionResult

    Permalink

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

  31. def intersection(mp: MultiPoint): MultiPointMultiPointIntersectionResult

    Permalink

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

  32. def intersection(p: Point): PointOrNoResult

    Permalink

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

  33. def intersection(): MultiPointMultiPointIntersectionResult

    Permalink
  34. 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
  35. 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
  36. def intersects(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  37. 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
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. def isValid: Boolean

    Permalink

    Check the validity of this geometry

    Check the validity of this geometry

    Definition Classes
    Geometry
  40. val jtsGeom: com.vividsolutions.jts.geom.MultiPoint

    Permalink

    Return the wrapped jts Geometry

    Return the wrapped jts Geometry

    Definition Classes
    MultiPointDimensionsGeometry
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def normalized(): MultiPoint

    Permalink

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

  43. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  45. def overlaps(mp: MultiPoint): Boolean

    Permalink

    Tests whether this MultiPoint overlaps the specified MultiPoint mp.

    Tests whether this MultiPoint overlaps the specified MultiPoint mp. Returns true if The DE-9IM Intersection Matrix for the two MultiPoints is T*T***T**.

  46. lazy val points: Array[Point]

    Permalink

    Returns the Points contained in MultiPoint.

  47. def symDifference(mp: MultiPolygon): MultiPointMultiPolygonSymDifferenceResult

    Permalink

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

  48. def symDifference(ml: MultiLine): MultiPointMultiLineSymDifferenceResult

    Permalink

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

  49. def symDifference(p: Polygon): AtMostOneDimensionPolygonSymDifferenceResult

    Permalink

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

  50. def symDifference(l: Line): ZeroDimensionsLineSymDifferenceResult

    Permalink

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

  51. def symDifference(g: ZeroDimensions): ZeroDimensionsMultiPointSymDifferenceResult

    Permalink

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

  52. def symDifference(): MultiPointMultiPointSymDifferenceResult

    Permalink

    Computes a Result that represents a Geometry made up of all the unique points in this MultiPoint.

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

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

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

    Permalink

    Tests whether this MultiPoint touches the specified AtLeastOneDimension g.

    Tests whether this MultiPoint touches the specified AtLeastOneDimension 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): MultiPointMultiPolygonUnionResult

    Permalink

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

  57. def union(ml: MultiLine): MultiPointMultiLineUnionResult

    Permalink

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

  58. def union(mp: MultiPoint): MultiPointMultiPointUnionResult

    Permalink

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

  59. def union(p: Polygon): AtMostOneDimensionPolygonUnionResult

    Permalink

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

  60. def union(l: Line): ZeroDimensionsLineUnionResult

    Permalink

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

  61. def union(p: Point): PointZeroDimensionsUnionResult

    Permalink

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

  62. def union(): MultiPointMultiPointUnionResult

    Permalink

    Computes the union of the contained points.

    Computes the union of the contained points. Useful for de-duplication.

  63. lazy val vertexCount: Int

    Permalink

    Get the number of vertices in this geometry

  64. lazy val vertices: Array[Point]

    Permalink
  65. final def wait(): Unit

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

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

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

    Permalink

    Tests whether this MultiPoint is within the specified Geometry g.

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

  69. 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
  70. def |(mp: MultiPolygon): MultiPointMultiPolygonUnionResult

    Permalink

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

  71. def |(ml: MultiLine): MultiPointMultiLineUnionResult

    Permalink

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

  72. def |(mp: MultiPoint): MultiPointMultiPointUnionResult

    Permalink

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

  73. def |(p: Polygon): AtMostOneDimensionPolygonUnionResult

    Permalink

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

  74. def |(l: Line): ZeroDimensionsLineUnionResult

    Permalink

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

  75. def |(p: Point): PointZeroDimensionsUnionResult

    Permalink

    Computes a Result that represents a Geometry made up of all the points in this MultiPoint 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 ZeroDimensions

Inherited from AtMostOneDimension

Inherited from Dimensions

Inherited from MultiGeometry

Inherited from Geometry

Inherited from AnyRef

Inherited from Any

Ungrouped