Packages

t

ostrat.geom

EllipseBased

trait EllipseBased extends GeomElem with WithCentre

Common trait for Ellipse and EArc. The main purpose of this trait is not to share code, but to establish naming conventions for elliptical properties.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EllipseBased
  2. WithCentre
  3. GeomElem
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def axesPt1: Pt2

    The end point of axis 1.

    The end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  2. abstract def axesPt1x: Double

    The X component of the end point of axis 1.

    The X component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  3. abstract def axesPt1y: Double

    The Y component of the end point of axis 1.

    The Y component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  4. abstract def axesPt2: Pt2

    The start point of axis 2.

    The start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  5. abstract def axesPt2x: Double

    The X component of the start point of axis 2.

    The X component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  6. abstract def axesPt2y: Double

    The Y component of the start point of axis 2.

    The Y component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  7. abstract def axesPt3: Pt2

    The start point of axis 1.

    The start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  8. abstract def axesPt3x: Double

    The X component of the start point of axis 1.

    The X component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  9. abstract def axesPt3y: Double

    The Y component of the start point of axis 1.

    The Y component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  10. abstract def axesPt4: Pt2

    The end point of axis 2.

    The end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  11. abstract def axesPt4x: Double

    The X component of the end point of axis 2.

    The X component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  12. abstract def axesPt4y: Double

    The Y component of the end point of axis 2.

    The Y component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

  13. abstract def cen: Pt2

    The centre of this geometric / graphical element.

    The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

    Definition Classes
    WithCentre
  14. abstract def cenP1: Vec2

    The 2D vector Vec2 from the centre point to pAxes1, the end point of axis 1, by default on the right of the Ellipse this arc is based on.

  15. abstract def cenP2: Vec2

    The 2D vector Vec2 from the centre point to pAxes2, the start point of axis 2, by default at the bottom of the Ellipse this arc is based on.

  16. abstract def cenP3: Vec2

    The 2D vector Vec2 from the centre point to pAxes3, the start point of axis 1 , by default on the left of the Ellipse this arc is based on.

  17. abstract def cenP4: Vec2

    The 2D vector Vec2 from the centre point to pAxes4, the end point of axis 2, by default at the top of the Ellipse this arc is based on.

  18. abstract def cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    WithCentre
  19. abstract def cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    WithCentre
  20. 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
  21. 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
  22. 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
  23. abstract def radius1: Double

    Radius 1 of the ellipse.

    Radius 1 of the ellipse. By default this is the horizontal axis of the ellipse. This can be the major or minor axis.

  24. abstract def radius2: Double

    Radius 2 of the ellipse.

    Radius 2 of the ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def diameter1: Double

    Diameter 1 of the ellipse.

    Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.

  7. final def diameter2: Double

    Diameter 2 of this ellipse.

    Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. 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 WithCentre

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped