class OffsetCurveBuilder extends AnyRef
- Alphabetic
- By Inheritance
- OffsetCurveBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OffsetCurveBuilder(precisionModel: PrecisionModel, bufParams: BufferParameters)
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
- var bufParams: BufferParameters
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- def getBufferParameters: BufferParameters
Gets the buffer parameters being used to generate the curve.
Gets the buffer parameters being used to generate the curve.
return the buffer parameters being used
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLineCurve(inputPts: Array[Coordinate], distance: Double): Array[Coordinate]
This method handles single points as well as LineStrings.
This method handles single points as well as LineStrings. LineStrings are assumed not to be closed (the function will not fail for closed lines, but will generate superfluous line caps).
- inputPts
the vertices of the line to offset
- distance
the offset distance return a Coordinate array representing the curve or null if the curve is empty
- def getOffsetCurve(inputPts: Array[Coordinate], distance: Double): Array[Coordinate]
- def getRingCurve(inputPts: Array[Coordinate], side: Int, distance: Double): Array[Coordinate]
This method handles the degenerate cases of single points and lines, as well as valid rings.
This method handles the degenerate cases of single points and lines, as well as valid rings.
- inputPts
the coordinates of the ring (must not contain repeated points)
- side
side the side { @link Position} of the ring on which to construct the buffer line
- distance
the positive distance at which to create the offset return a Coordinate array representing the curve, or null if the curve is empty
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLineOffsetEmpty(distance: Double): Boolean
Tests whether the offset curve for line or point geometries at the given offset distance is empty (does not exist).
Tests whether the offset curve for line or point geometries at the given offset distance is empty (does not exist). This is the case if:
- the distance is zero,
- the distance is negative, except for the case of singled-sided buffers
- distance
the offset curve distance return true if the offset curve is empty
- 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 precisionModel: PrecisionModel
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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()