Packages

c

ostrat.geom

PolygonActive

case class PolygonActive(shape: Polygon, pointerId: Any) extends GraphicAffineElem with GraphicClickable with PolygonGraphicSimple with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolygonActive
  2. Serializable
  3. Product
  4. Equals
  5. PolygonGraphicSimple
  6. ShapeGraphicSimple
  7. GraphicSimple
  8. PolygonGraphic
  9. ShapeGraphic
  10. GraphicClickable
  11. GraphicActive
  12. GraphicBounded
  13. BoundedElem
  14. GraphicAffineElem
  15. AffinePreserve
  16. GraphicSimElem
  17. GraphicElem
  18. SimilarPreserve
  19. ProlignPreserve
  20. GeomElem
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PolygonActive(shape: Polygon, pointerId: Any)

Type Members

  1. type ThisT = PolygonActive

    The most narrow type preserved in some 2d geometric transformations.

    The most narrow type preserved in some 2d geometric transformations.

    Definition Classes
    PolygonActiveGraphicAffineElemAffinePreserveGraphicSimElemSimilarPreserveProlignPreserve

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. final def attribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphicSimpleShapeGraphic
  6. def blBounding: Pt2
    Definition Classes
    BoundedElem
  7. final def boundCen: Pt2

    The centre of the bounding rectangle.

    The centre of the bounding rectangle. consider also using cenDefault.

    Definition Classes
    BoundedElem
    Annotations
    @inline()
  8. def boundingHeight: Double
    Definition Classes
    BoundedElem
  9. def boundingRect: BoundingRect

    The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

    The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape

    Definition Classes
    PolygonActivePolygonGraphicSimplePolygonGraphicShapeGraphicBoundedElem
  10. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  11. def brBounding: Pt2
    Definition Classes
    BoundedElem
  12. def cenDefault: Pt2

    If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.

    If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.

    Definition Classes
    BoundedElem
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def foreachVert(f: (Pt2) => Unit): Unit
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def ifv2: Boolean

    Checks for 2 or more vertices

    Checks for 2 or more vertices

    Definition Classes
    PolygonGraphic
  18. def ifv3: Boolean

    Checks for 3 or more vertices

    Checks for 3 or more vertices

    Definition Classes
    PolygonGraphic
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def negX: ThisT

    Mirror, reflection 2D geometric transformation across the Y axis by negating X.

    Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.

    Definition Classes
    SimilarPreserveProlignPreserveGeomElem
  22. def negY: ThisT

    Mirror, reflection 2D geometric transformation across the X axis by negating y.

    Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

    Definition Classes
    SimilarPreserveProlignPreserveGeomElem
  23. def nonShapeAttribs: Arr[XmlAtt]
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. val pointerId: Any

    The Pointer Identity is returned to the GUI application if the user mouse (or other pointing device, clicks within the polygon or shape It is purely up to the application to encode, its response if any to this object.

    The Pointer Identity is returned to the GUI application if the user mouse (or other pointing device, clicks within the polygon or shape It is purely up to the application to encode, its response if any to this object.

    Definition Classes
    PolygonActiveGraphicActive
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def prolign(matrix: ProlignMatrix): ThisT

    2D Transformation using a ProlignMatrix.

    2D Transformation using a ProlignMatrix. The return type will be narrowed in sub classes / traits.

    Definition Classes
    ProlignPreserveGeomElem
  29. def ptInside(pt: Pt2): Boolean

    The definitive test as to whether the mouse pointer is inside the polygon / shape

    The definitive test as to whether the mouse pointer is inside the polygon / shape

    Definition Classes
    PolygonActiveGraphicActive
  30. def ptsTrans(f: (Pt2) => Pt2): PolygonActive

    A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

    A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

    Definition Classes
    PolygonActiveProlignPreserve
  31. def reflect(lineLike: LineLike): ThisT

    Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem.

    Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    SimilarPreserveGeomElem
  32. def rendToCanvas(cp: CanvasPlatform): Unit

    Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

    Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

    Definition Classes
    PolygonActiveGraphicElem
  33. def rotate(angle: AngleVec): ThisT

    Rotation 2D geometric transformation on a GeomElem.

    Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    SimilarPreserveGeomElem
  34. def rotate180: ThisT

    Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem.

    Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    SimilarPreserveGeomElem
  35. def rotate270: ThisT

    Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem.

    Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    SimilarPreserveGeomElem
  36. def rotate90: ThisT

    Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem.

    Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

    Definition Classes
    SimilarPreserveGeomElem
  37. def scale(operand: Double): ThisT

    Uniform 2D geometric scaling transformation.

    Uniform 2D geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    ProlignPreserveGeomElem
  38. def scaleXY(xOperand: Double, yOperand: Double): ThisT

    Scaling X and Y axes independently, 2D geometric transformation on this GeomElem, returns a new GeomElem.

    Scaling X and Y axes independently, 2D geometric transformation on this GeomElem, returns a new GeomElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

    Definition Classes
    AffinePreserveGeomElem
  39. val shape: Polygon
    Definition Classes
    PolygonActivePolygonGraphicShapeGraphic
  40. def shapeAttribs: Arr[XmlAtt]
    Definition Classes
    ShapeGraphic
  41. def shearX(operand: Double): ThisT

    Shear 2D geometric transformation along the X Axis on a GeomElem.

    Shear 2D geometric transformation along the X Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

    Definition Classes
    AffinePreserveGeomElem
  42. def shearY(operand: Double): ThisT

    Shear 2D geometric transformation along the Y Axis on a GeomElem.

    Shear 2D geometric transformation along the Y Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

    Definition Classes
    AffinePreserveGeomElem
  43. def slateXY(xDelta: Double, yDelta: Double): ThisT

    Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem.

    Translate 2D geometric transformation, taking the xOffset and yOffset as parameters on this GeomElem returning a GeomElem. The Return type will be narrowed in sub traits. End users will often want to use the slate method taking a Pt2 or Vec2 as a parameter, the slateX or the slateY methods. These methods will be offered as extension methods using this method for their implementations.

    Definition Classes
    ProlignPreserveGeomElem
  44. def svgElem(bounds: BoundingRect): SvgElem
  45. final def svgInline: String
    Definition Classes
    ShapeGraphic
  46. final def svgJustElem: SvgElem
    Definition Classes
    ShapeGraphic
  47. def svgOut(indent: Int = 0, linePosn: Int = 0, lineLen: Int = 150): String
    Definition Classes
    ShapeGraphic
  48. def svgStr: String
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  51. def trBounding: Pt2
    Definition Classes
    BoundedElem
  52. def vertsMap[A, ArrT <: ArrImut[A]](f: (Pt2) => A)(implicit build: ArrTBuilder[A, ArrT]): ArrT
    Definition Classes
    PolygonGraphic
    Annotations
    @inline()
  53. def vertsNum: Int

    The number of vertices.

    The number of vertices.

    Definition Classes
    PolygonGraphic
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. def x1: Double
    Definition Classes
    PolygonGraphic
  58. def xVertsArray: Array[Double]
    Definition Classes
    PolygonGraphic
  59. def y1: Double
    Definition Classes
    PolygonGraphic
  60. def yVertsArray: Array[Double]
    Definition Classes
    PolygonGraphic

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PolygonGraphicSimple

Inherited from ShapeGraphicSimple

Inherited from GraphicSimple

Inherited from PolygonGraphic

Inherited from ShapeGraphic

Inherited from GraphicClickable

Inherited from GraphicActive

Inherited from GraphicBounded

Inherited from BoundedElem

Inherited from GraphicAffineElem

Inherited from AffinePreserve

Inherited from GraphicSimElem

Inherited from GraphicElem

Inherited from SimilarPreserve

Inherited from ProlignPreserve

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped