Trait/Object

geotrellis.vector

Geometry

Related Docs: object Geometry | package vector

Permalink

trait Geometry extends AnyRef

A trait inherited by classes which wrap a jts.Geometry

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Geometry
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def jtsGeom: com.vividsolutions.jts.geom.Geometry

    Permalink

    Return the wrapped jts Geometry

Concrete 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: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
  4. final def ==(arg0: Any): Boolean

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

    Permalink

    Attempt to convert this Geometry to the provided type

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def centroid: PointOrNoResult

    Permalink

    Calculate centroid of this Geometry

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def disjoint(other: Geometry): Boolean

    Permalink
  10. def distance(other: Geometry): Double

    Permalink

    Calculate the distance to another Geometry

  11. def envelope: Extent

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
  18. def intersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink

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

  19. 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.

  20. def intersects(other: Geometry): Boolean

    Permalink
  21. 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.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isValid: Boolean

    Permalink

    Check the validity of this geometry

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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

Deprecated Value Members

  1. def safeIntersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped