class RobustLineIntersector extends LineIntersector
- Alphabetic
- By Inheritance
- RobustLineIntersector
- LineIntersector
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RobustLineIntersector()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkDD(p1: Coordinate, p2: Coordinate, q1: Coordinate, q2: Coordinate, intPt: Coordinate): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def computeIntLineIndex(segmentIndex: Int): Unit
- Attributes
- protected
- Definition Classes
- LineIntersector
- def computeIntLineIndex(): Unit
- Attributes
- protected
- Definition Classes
- LineIntersector
- def computeIntersect(p1: Coordinate, p2: Coordinate, q1: Coordinate, q2: Coordinate): Int
- Attributes
- protected
- Definition Classes
- RobustLineIntersector → LineIntersector
- 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.- Definition Classes
- RobustLineIntersector → LineIntersector
- 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).
- Definition Classes
- LineIntersector
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- Definition Classes
- LineIntersector
- 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
- Definition Classes
- LineIntersector
- 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)
- Definition Classes
- LineIntersector
- 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
- Definition Classes
- LineIntersector
- 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
- Definition Classes
- LineIntersector
- 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)
- Definition Classes
- LineIntersector
- def hasIntersection: Boolean
Tests whether the input geometries intersect.
Tests whether the input geometries intersect.
return true if the input geometries intersect
- Definition Classes
- LineIntersector
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var inputLines: Array[Array[Coordinate]]
- Attributes
- protected
- Definition Classes
- LineIntersector
- 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
- Definition Classes
- LineIntersector
- var intPt: Array[Coordinate]
- Attributes
- protected
- Definition Classes
- LineIntersector
- def isCollinear: Boolean
- Attributes
- protected
- Definition Classes
- LineIntersector
- def isEndPoint: Boolean
- Attributes
- protected
- Definition Classes
- LineIntersector
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
trueif either intersection point is in the interior of the input segment- Definition Classes
- LineIntersector
- 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
trueif either intersection point is in the interior of one of the input segments- Definition Classes
- LineIntersector
- 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.
- Definition Classes
- LineIntersector
- 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
- Definition Classes
- LineIntersector
- var isProperF: Boolean
- Attributes
- protected[jts]
- Definition Classes
- LineIntersector
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var pa: Coordinate
- Attributes
- protected
- Definition Classes
- LineIntersector
- var pb: Coordinate
- Attributes
- protected
- Definition Classes
- LineIntersector
- 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
- Definition Classes
- LineIntersector
- var result: Int
- Attributes
- protected
- Definition Classes
- LineIntersector
- 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.
- Definition Classes
- LineIntersector
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- LineIntersector → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- 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
- Definition Classes
- LineIntersector
- Deprecated
use
setPrecisionModelinstead