Object

geotrellis.vector

RobustPredicates

Related Doc: package vector

Permalink

object RobustPredicates

Provides a set of numerically-sound geometric predicates.

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

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val LEFTOF: Int(-1)

    Permalink
  5. final val ON: Int(0)

    Permalink
  6. final val RIGHTOF: Int(1)

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def circleCenter(ax: Double, ay: Double, bx: Double, by: Double, cx: Double, cy: Double): (Double, Coordinate, Boolean)

    Permalink

    Given three points in 2d, represented as the Double pairs (ax, ay), (bx, by), and (cx, cy), this function finds the center of the unique circle that contains the three points on its boundary.

    Given three points in 2d, represented as the Double pairs (ax, ay), (bx, by), and (cx, cy), this function finds the center of the unique circle that contains the three points on its boundary. The return of this function is a triple containing the radius of the circle, the center of the circle, represented as a jts Coordinate, and a Boolean flag indicating if the radius and center are numerically reliable. This last value will be false if the points are too close to being collinear.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def det2(a11: Double, a12: Double, a21: Double, a22: Double): Double

    Permalink
  11. def det3(a11: Double, a12: Double, a13: Double, a21: Double, a22: Double, a23: Double, a31: Double, a32: Double, a33: Double): Double

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

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

    Permalink
    Definition Classes
    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
    AnyRef → Any
  17. def inCircle(a: Coordinate, b: Coordinate, c: Coordinate, d: Coordinate): Boolean

    Permalink

    Given four points in 2d, represented as jts Coordinates, this function determines if the unique circle having points a, b, and c on its boundary (isCCW(a, b, c) must be true) contains point d in its interior.

    Given four points in 2d, represented as jts Coordinates, this function determines if the unique circle having points a, b, and c on its boundary (isCCW(a, b, c) must be true) contains point d in its interior. The z-coordinates of the input points are ignored.

  18. def inCircle(ax: Double, ay: Double, bx: Double, by: Double, cx: Double, cy: Double, dx: Double, dy: Double): Boolean

    Permalink
  19. def isCCW(a: Coordinate, b: Coordinate, c: Coordinate): Boolean

    Permalink

    Given three points in 2d, represented as jts Coordinates, this function returns true if the three points, visted in the order a, b, and then c, have a counterclockwise winding.

    Given three points in 2d, represented as jts Coordinates, this function returns true if the three points, visted in the order a, b, and then c, have a counterclockwise winding. This function returns false if the winding of the points is clockwise, or if the points are collinear. The z-coordinates of the input points are ignored.

  20. def isCCW(ax: Double, ay: Double, bx: Double, by: Double, cx: Double, cy: Double): Boolean

    Permalink

    Given three points in 2d, represented as the Double pairs (ax, ay), (bx, by), and (cx, cy), this function returns true if the three points, in the order a, b, and then c, have a counterclockwise winding.

    Given three points in 2d, represented as the Double pairs (ax, ay), (bx, by), and (cx, cy), this function returns true if the three points, in the order a, b, and then c, have a counterclockwise winding. This function returns false if the winding of the points is clockwise, or if the points are collinear.

  21. def isCollinear(a: Coordinate, b: Coordinate, c: Coordinate): Boolean

    Permalink

    Given three points in 2d, represented as jts Coordinates, this function returns true if all three points lie on a single line, up to the limits of numerical precision.

    Given three points in 2d, represented as jts Coordinates, this function returns true if all three points lie on a single line, up to the limits of numerical precision. The z-coordinates of the input points are ignored.

  22. def isCollinear(ax: Double, ay: Double, bx: Double, by: Double, cx: Double, cy: Double): Boolean

    Permalink

    Given three points in 2d, represented as the Double pairs (ax, ay), (bx, by), and (cx, cy), this function returns true if all three points lie on a single line, up to the limits of numerical precision.

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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. def relativeTo(e0: Coordinate, e1: Coordinate, p: Coordinate): Int

    Permalink
  28. def relativeTo(e0x: Double, e0y: Double, e1x: Double, e1y: Double, px: Double, py: Double): Int

    Permalink

    Given four points in 2d, represented as the Double pairs (ax, ay), (bx, by), (cx, cy), and (dx, dy), this function determines if the unique circle having points a, b, and c on its boundary (isCCW(a, b, c) must be true) contains point d in its interior.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped