class GeometricShapeFactory extends AnyRef
- Alphabetic
- By Inheritance
- GeometricShapeFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GeometricShapeFactory()
Create a shape factory which will create shapes using the default {link GeometryFactory}.
- new GeometricShapeFactory(geomFact: GeometryFactory)
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def coord(x: Double, y: Double): Coordinate
- Attributes
- protected
- def coordTrans(x: Double, y: Double, trans: Coordinate): Coordinate
- Attributes
- protected
- def createArc(startAng: Double, angExtent: Double): LineString
Creates an elliptical arc, as a {link LineString}.
Creates an elliptical arc, as a {link LineString}. The arc is always created in a counter-clockwise direction. This can easily be reversed if required by using {#link LineString.reverse()}
- startAng
start angle in radians
- angExtent
size of angle in radians return an elliptical arc
- def createArcPolygon(startAng: Double, angExtent: Double): Polygon
Creates an elliptical arc polygon.
Creates an elliptical arc polygon. The polygon is formed from the specified arc of an ellipse and the two radii connecting the endpoints to the centre of the ellipse.
- startAng
start angle in radians
- angExtent
size of angle in radians return an elliptical arc polygon
- def createCircle: Polygon
- def createEllipse: Polygon
- def createRectangle: Polygon
- def createSquircle: Polygon
- def createSupercircle(power: Double): Polygon
- var dim: Dimensions
- Attributes
- protected
- 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])
- var geomFact: GeometryFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var nPts: Int
- Attributes
- protected
- 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 precModel: PrecisionModel
- Attributes
- protected
- def rotate(geom: Geometry): Geometry
- Attributes
- protected
- var rotationAngle: Double
Default is no rotation.
Default is no rotation.
- Attributes
- protected
- def setBase(base: Coordinate): Unit
Sets the location of the shape by specifying the base coordinate (which in most cases is the lower left point of the envelope containing the shape).
Sets the location of the shape by specifying the base coordinate (which in most cases is the lower left point of the envelope containing the shape).
- base
the base coordinate of the shape
- def setCentre(centre: Coordinate): Unit
Sets the location of the shape by specifying the centre of the shape's bounding box
Sets the location of the shape by specifying the centre of the shape's bounding box
- centre
the centre coordinate of the shape
- def setEnvelope(env: Envelope): Unit
- def setHeight(height: Double): Unit
Sets the height of the shape.
Sets the height of the shape.
- height
the height of the shape
- def setNumPoints(nPts: Int): Unit
- def setRotation(radians: Double): Unit
Sets the rotation angle to use for the shape.
Sets the rotation angle to use for the shape. The rotation is applied relative to the centre of the shape.
- radians
the rotation angle in radians.
- def setSize(size: Double): Unit
Sets the size of the extent of the shape in both x and y directions.
Sets the size of the extent of the shape in both x and y directions.
- size
the size of the shape's extent
- def setWidth(width: Double): Unit
Sets the width of the shape.
Sets the width of the shape.
- width
the width of the shape
- 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()