abstract class LineIntersector extends AnyRef

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

Instance Constructors

  1. new LineIntersector()

Abstract Value Members

  1. abstract def computeIntersect(p1: Coordinate, p2: Coordinate, q1: Coordinate, q2: Coordinate): Int
    Attributes
    protected
  2. abstract def computeIntersection(p: Coordinate, p1: Coordinate, p2: Coordinate): Unit

    Compute the intersection of a point p and the line p1-p2.

    Compute the intersection of a point p and the line p1-p2. This function computes the boolean value of the hasIntersection test. The actual value of the intersection (if there is one) is equal to the value of p.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def computeIntLineIndex(segmentIndex: Int): Unit
    Attributes
    protected
  7. def computeIntLineIndex(): Unit
    Attributes
    protected
  8. def computeIntersection(p1: Coordinate, p2: Coordinate, p3: Coordinate, p4: Coordinate): Unit

    Computes the intersection of the lines p1-p2 and p3-p4.

    Computes the intersection of the lines p1-p2 and p3-p4. This function computes both the boolean value of the hasIntersection test and the (approximate) value of the intersection point itself (if there is one).

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getEdgeDistance(segmentIndex: Int, intIndex: Int): Double

    Computes the "edge distance" of an intersection point along the specified input line segment.

    Computes the "edge distance" of an intersection point along the specified input line segment.

    segmentIndex

    is 0 or 1

    intIndex

    is 0 or 1 return the edge distance of the intersection point

  14. def getEndpoint(segmentIndex: Int, ptIndex: Int): Coordinate

    Gets an endpoint of an input segment.

    Gets an endpoint of an input segment.

    segmentIndex

    the index of the input segment (0 or 1)

    ptIndex

    the index of the endpoint (0 or 1) return the specified endpoint

  15. def getIndexAlongSegment(segmentIndex: Int, intIndex: Int): Int

    Computes the index (order) of the intIndex'th intersection point in the direction of a specified input line segment

    Computes the index (order) of the intIndex'th intersection point in the direction of a specified input line segment

    segmentIndex

    is 0 or 1

    intIndex

    is 0 or 1 return the index of the intersection point along the input segment (0 or 1)

  16. def getIntersection(intIndex: Int): Coordinate

    Returns the intIndex'th intersection point

    Returns the intIndex'th intersection point

    intIndex

    is 0 or 1 return the intIndex'th intersection point

  17. def getIntersectionAlongSegment(segmentIndex: Int, intIndex: Int): Coordinate

    Computes the intIndex'th intersection point in the direction of a specified input line segment

    Computes the intIndex'th intersection point in the direction of a specified input line segment

    segmentIndex

    is 0 or 1

    intIndex

    is 0 or 1 return the intIndex'th intersection point in the direction of the specified input line segment

  18. def getIntersectionNum: Int

    Returns the number of intersection points found.

    Returns the number of intersection points found. This will be either 0, 1 or 2.

    return the number of intersection points found (0, 1, or 2)

  19. def hasIntersection: Boolean

    Tests whether the input geometries intersect.

    Tests whether the input geometries intersect.

    return true if the input geometries intersect

  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. var inputLines: Array[Array[Coordinate]]
    Attributes
    protected
  22. var intLineIndex: Array[Array[Int]]

    The indexes of the endpoints of the intersection lines, in order along the corresponding line

    The indexes of the endpoints of the intersection lines, in order along the corresponding line

    Attributes
    protected
  23. var intPt: Array[Coordinate]
    Attributes
    protected
  24. def isCollinear: Boolean
    Attributes
    protected
  25. def isEndPoint: Boolean
    Attributes
    protected
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isInteriorIntersection(inputLineIndex: Int): Boolean

    Tests whether either intersection point is an interior point of the specified input segment.

    Tests whether either intersection point is an interior point of the specified input segment.

    return true if either intersection point is in the interior of the input segment

  28. def isInteriorIntersection: Boolean

    Tests whether either intersection point is an interior point of one of the input segments.

    Tests whether either intersection point is an interior point of one of the input segments.

    return true if either intersection point is in the interior of one of the input segments

  29. def isIntersection(pt: Coordinate): Boolean

    Test whether a point is a intersection point of two line segments.

    Test whether a point is a intersection point of two line segments. Note that if the intersection is a line segment, this method only tests for equality with the endpoints of the intersection segment. It does not return true if the input point is internal to the intersection segment.

    return true if the input point is one of the intersection points.

  30. def isProper(): Boolean

    Tests whether an intersection is proper.

    Tests whether an intersection is proper.
    The intersection between two line segments is considered proper if they intersect in a single point in the interior of both segments (e.g. the intersection is a single point and is not equal to any of the endpoints).

    The intersection between a point and a line segment is considered proper if the point lies in the interior of the segment (e.g. is not equal to either of the endpoints).

    return true if the intersection is proper

  31. var isProperF: Boolean
    Attributes
    protected[jts]
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. var pa: Coordinate
    Attributes
    protected
  36. var pb: Coordinate
    Attributes
    protected
  37. var precisionModel: PrecisionModel

    If makePrecise is true, computed intersection coordinates will be made precise using Coordinate#makePrecise

    If makePrecise is true, computed intersection coordinates will be made precise using Coordinate#makePrecise

    Attributes
    protected
  38. var result: Int
    Attributes
    protected
  39. def setPrecisionModel(precisionModel: PrecisionModel): Unit

    Force computed intersection to be rounded to a given precision model.

    Force computed intersection to be rounded to a given precision model. No getter is provided, because the precision model is not required to be specified.

  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    LineIntersector → AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def setMakePrecise(precisionModel: PrecisionModel): Unit

    Force computed intersection to be rounded to a given precision model

    Force computed intersection to be rounded to a given precision model

    Deprecated

    use setPrecisionModel instead

Inherited from AnyRef

Inherited from Any

Ungrouped