Packages

t

ostrat.geom

BoundedElem

trait BoundedElem extends GeomElem

A 2D geometric element, that has a defined bounding rectangle, BoundingRect. This trait is for layout, such as placing Graphic elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.

Linear Supertypes
Known Subclasses
CanvShapeDraw, CanvShapeFill, CentredElem, Circle, CircleCompound, CircleDraw, CircleFill, CircleGraphic, CircleGraphicSimple, Ellipse, EllipseImp, EllipseCompound, EllipseCompoundImplement, EllipseDraw, EllipseDrawImp, EllipseFill, EllipseFillImp, EllipseGraphic, EllipseGraphicSimple, Ellipselign, EllipselignImp, GraphicActive, GraphicActiveOld, GraphicActiveSim, GraphicBounded, GraphicBoundedAffine, GraphicBoundedSimer, GraphicClickable, GraphicParentFull, HexParrX, HexParrY, HexReg, HexRegImp, Hexlign, OrdinaledElem, PhiRect, PhiRectY, PhiRectangle, PhiRectangleImp, PolyCurveActive, PolyCurveAll, PolyCurveDraw, PolyCurveElem, PolyCurveFill, PolyCurveFillDraw, PolyCurveFillDrawText, PolyCurveParentFull, Polygon, Polygon3Plus, Polygon4Plus, Polygon5Plus, Polygon6Plus, PolygonActive, PolygonCompound, PolygonCompoundImp, PolygonDraw, PolygonDrawImp, PolygonFill, PolygonFillImp, PolygonGraphic, PolygonGraphicSimple, PolygonImp, Rect, RectImp, RectCompound, RectFill, RectFillImp, RectGraphic, RectGraphicSimple, RectS2S4, Rectangle, RectangleImp, RectangleCompound, RectangleCompoundImp, RectangleDraw, RectangleDrawImp, RectangleFill, RectangleFillImp, RectangleGraphic, RectangleGraphicSimple, Shape, ShapeCentred, ShapeCompound, ShapeDraw, ShapeFill, ShapeGen, ShapeGraphic, ShapeGraphicCentred, ShapeGraphicOrdinaled, ShapeGraphicSimple, ShapeOrdinaled, Sqlign, Square, SquareImp, Triangle, TriangleImp, TriangleEqui, TriangleFill, TriangleGraphic, TriangleGraphicSimple, TriangleIsos, TriangleIsosGen
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoundedElem
  2. GeomElem
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def boundingRect: BoundingRect

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

  2. abstract def negX: GeomElem

    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
    GeomElem
  3. abstract def negY: GeomElem

    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
    GeomElem
  4. abstract def prolign(matrix: ProlignMatrix): GeomElem

    2D Transformation using a ProlignMatrix.

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

    Definition Classes
    GeomElem
  5. abstract def reflect(lineLike: LineLike): GeomElem

    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
    GeomElem
  6. abstract def rotate(angle: AngleVec): GeomElem

    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
    GeomElem
  7. abstract def rotate180: GeomElem

    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
    GeomElem
  8. abstract def rotate270: GeomElem

    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
    GeomElem
  9. abstract def rotate90: GeomElem

    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
    GeomElem
  10. abstract def scale(operand: Double): GeomElem

    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
    GeomElem
  11. abstract def scaleXY(xOperand: Double, yOperand: Double): GeomElem

    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
    GeomElem
  12. abstract def shearX(operand: Double): GeomElem

    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
    GeomElem
  13. abstract def shearY(operand: Double): GeomElem

    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
    GeomElem
  14. abstract def slateXY(xDelta: Double, yDelta: Double): GeomElem

    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
    GeomElem

Concrete 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 blBounding: Pt2
  6. final def boundCen: Pt2

    The centre of the bounding rectangle.

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

    Annotations
    @inline()
  7. def boundingHeight: Double
  8. def boundingWidth: Double

    The width of the BoundingRect of this object.

  9. def brBounding: Pt2
  10. 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.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def tlBounding: Pt2
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def trBounding: Pt2
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped