Packages

class BufferParameters extends AnyRef

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

Instance Constructors

  1. new BufferParameters(quadrantSegments: Int, endCapStyle: Int, joinStyle: Int, mitreLimit: Double)

    Creates a set of parameters with the given parameter values.

    Creates a set of parameters with the given parameter values.

    quadrantSegments

    the number of quadrant segments to use

    endCapStyle

    the end cap style to use

    joinStyle

    the join style to use

    mitreLimit

    the mitre limit to use

  2. new BufferParameters(quadrantSegments: Int, endCapStyle: Int)

    Creates a set of parameters with the given quadrantSegments and endCapStyle values.

    Creates a set of parameters with the given quadrantSegments and endCapStyle values.

    quadrantSegments

    the number of quadrant segments to use

    endCapStyle

    the end cap style to use

  3. new BufferParameters(quadrantSegments: Int)

    Creates a set of parameters with the given quadrantSegments value.

    Creates a set of parameters with the given quadrantSegments value.

    quadrantSegments

    the number of quadrant segments to use

  4. new BufferParameters()

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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getEndCapStyle: Int

    Gets the end cap style.

    Gets the end cap style.

    return the end cap style

  11. def getJoinStyle: Int

    Gets the join style

    Gets the join style

    return the join style code

  12. def getMitreLimit: Double

    Gets the mitre ratio limit.

    Gets the mitre ratio limit.

    return the limit value

  13. def getQuadrantSegments: Int

    Gets the number of quadrant segments which will be used

    Gets the number of quadrant segments which will be used

    return the number of quadrant segments

  14. def getSimplifyFactor: Double

    Gets the simplify factor.

    Gets the simplify factor.

    return the simplify factor

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isSingleSided: Boolean

    Tests whether the buffer is to be generated on a single side only.

    Tests whether the buffer is to be generated on a single side only.

    return true if the generated buffer is to be single-sided

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def setEndCapStyle(endCapStyle: Int): Unit
  22. def setJoinStyle(joinStyle: Int): Unit
  23. def setMitreLimit(mitreLimit: Double): Unit

    Sets the limit on the mitre ratio used for very sharp corners.

    Sets the limit on the mitre ratio used for very sharp corners. The mitre ratio is the ratio of the distance from the corner to the end of the mitred offset corner. When two line segments meet at a sharp angle, a miter join will extend far beyond the original geometry. (and in the extreme case will be infinitely far.) To prevent unreasonable geometry, the mitre limit allows controlling the maximum length of the join corner. Corners with a ratio which exceed the limit will be beveled.

    mitreLimit

    the mitre ratio limit

  24. def setQuadrantSegments(quadSegs: Int): Unit

    Sets the number of line segments used to approximate an angle fillet.

    Sets the number of line segments used to approximate an angle fillet.

    • If quadSegs >= 1, joins are round, and quadSegs indicates the number of segments to use to approximate a quarter-circle.
    • If quadSegs = 0, joins are bevelled (flat)
    • If quadSegs < 0, joins are mitred, and the value of qs indicates the mitre ration limit as
      mitreLimit = |quadSegs|
      

    For round joins, quadSegs determines the maximum error in the approximation to the true buffer curve. The default value of 8 gives less than 2% max error in the buffer distance. For a max error of < 1%, use QS = 12. For a max error of < 0.1%, use QS = 18. The error is always less than the buffer distance (in other words, the computed buffer curve is always inside the true curve).

    quadSegs

    the number of segments in a fillet for a quadrant

  25. def setSimplifyFactor(simplifyFactor: Double): Unit

    Sets the factor used to determine the simplify distance tolerance for input simplification.

    Sets the factor used to determine the simplify distance tolerance for input simplification. Simplifying can increase the performance of computing buffers. Generally the simplify factor should be greater than 0. Values between 0.01 and .1 produce relatively good accuracy for the generate buffer. Larger values sacrifice accuracy in return for performance.

    simplifyFactor

    a value greater than or equal to zero.

  26. def setSingleSided(isSingleSided: Boolean): Unit

    Sets whether the computed buffer should be single-sided.

    Sets whether the computed buffer should be single-sided. A single-sided buffer is constructed on only one side of each input line.

    The side used is determined by the sign of the buffer distance:

    • a positive distance indicates the left-hand side
    • a negative distance indicates the right-hand side

    The single-sided buffer of point geometries is the same as the regular buffer.

    The End Cap Style for single-sided buffers is always ignored, and forced to the equivalent of CAP_FLAT.

    isSingleSided

    true if a single-sided buffer should be constructed

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped