class SineStarFactory extends GeometricShapeFactory
- Alphabetic
- By Inheritance
- SineStarFactory
- GeometricShapeFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SineStarFactory()
Creates a factory which will create sine stars using the given {link GeometryFactory}.
- new SineStarFactory(geomFac: 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
- var armLengthRatio: Double
- Attributes
- protected
- 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
- Definition Classes
- GeometricShapeFactory
- def coordTrans(x: Double, y: Double, trans: Coordinate): Coordinate
- Attributes
- protected
- Definition Classes
- GeometricShapeFactory
- 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
- Definition Classes
- GeometricShapeFactory
- 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
- Definition Classes
- GeometricShapeFactory
- def createCircle: Polygon
- Definition Classes
- GeometricShapeFactory
- def createEllipse: Polygon
- Definition Classes
- GeometricShapeFactory
- def createRectangle: Polygon
- Definition Classes
- GeometricShapeFactory
- def createSineStar: Polygon
Generates the geometry for the sine star
Generates the geometry for the sine star
return the geometry representing the sine star
- def createSquircle: Polygon
- Definition Classes
- GeometricShapeFactory
- def createSupercircle(power: Double): Polygon
- Definition Classes
- GeometricShapeFactory
- var dim: Dimensions
- Attributes
- protected
- Definition Classes
- GeometricShapeFactory
- 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
- Definition Classes
- GeometricShapeFactory
- 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
- Definition Classes
- GeometricShapeFactory
- 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 numArms: Int
- Attributes
- protected
- var precModel: PrecisionModel
- Attributes
- protected
- Definition Classes
- GeometricShapeFactory
- def rotate(geom: Geometry): Geometry
- Attributes
- protected
- Definition Classes
- GeometricShapeFactory
- var rotationAngle: Double
Default is no rotation.
Default is no rotation.
- Attributes
- protected
- Definition Classes
- GeometricShapeFactory
- def setArmLengthRatio(armLengthRatio: Double): Unit
Sets the ratio of the length of each arm to the radius of the star.
Sets the ratio of the length of each arm to the radius of the star. A smaller number makes the arms shorter. Value should be between 0.0 and 1.0
- armLengthRatio
the ratio determining the length of them arms.
- 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
- Definition Classes
- GeometricShapeFactory
- 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
- Definition Classes
- GeometricShapeFactory
- def setEnvelope(env: Envelope): Unit
- Definition Classes
- GeometricShapeFactory
- def setHeight(height: Double): Unit
Sets the height of the shape.
- def setNumArms(numArms: Int): Unit
Sets the number of arms in the star
Sets the number of arms in the star
- numArms
the number of arms to generate
- def setNumPoints(nPts: Int): Unit
- Definition Classes
- GeometricShapeFactory
- 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.
- Definition Classes
- GeometricShapeFactory
- 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
- Definition Classes
- GeometricShapeFactory
- def setWidth(width: Double): Unit
Sets 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()