Packages

final case class Circle(diameter: Double, cenX: Double, cenY: Double) extends Ellipselign with OrdinaledElem with AxisFree with Product with Serializable

Circle class is defined by its centre and radius. It fulfills the interface for an Ellipse.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Circle
  2. Serializable
  3. Product
  4. Equals
  5. AxisFree
  6. OrdinaledElem
  7. OrdinalEdgePoints
  8. Ellipselign
  9. Ellipse
  10. ShapeCentred
  11. CentredElem
  12. Shape
  13. BoundedElem
  14. Fillable
  15. Drawable
  16. EllipseBased
  17. WithCentre
  18. GeomElem
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Circle(diameter: Double, cenX: Double, cenY: Double)

Type Members

  1. type ThisT = Circle
    Definition Classes
    CircleAxisFree

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. def alignAngle: Angle
    Definition Classes
    CircleEllipse
  5. def area: Double
    Definition Classes
    CircleEllipse
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def attribs: Arr[XANumeric]
    Definition Classes
    CircleEllipseShape
  8. final 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.

    Definition Classes
    EllipseEllipseBased
  9. 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.

    Definition Classes
    CircleEllipseBased
  10. 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.

    Definition Classes
    CircleEllipseBased
  11. final 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.

    Definition Classes
    EllipseEllipseBased
  12. 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.

    Definition Classes
    CircleEllipseBased
  13. 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.

    Definition Classes
    CircleEllipseBased
  14. 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.

    Definition Classes
    EllipseEllipseBased
  15. 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.

    Definition Classes
    CircleEllipseBased
  16. 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.

    Definition Classes
    CircleEllipseBased
  17. 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.

    Definition Classes
    CircleEllipseBased
  18. 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.

    Definition Classes
    CircleEllipseBased
  19. 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.

    Definition Classes
    CircleEllipseBased
  20. def blBounding: Pt2
    Definition Classes
    BoundedElem
  21. def blOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  22. def bottomLeft: Pt2
    Definition Classes
    CircleOrdinalEdgePoints
  23. def bottomRight: Pt2
    Definition Classes
    CircleOrdinalEdgePoints
  24. 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()
  25. def boundingHeight: Double
    Definition Classes
    BoundedElem
  26. 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
    CircleEllipseBoundedElem
  27. def boundingWidth: Double

    The width of the BoundingRect of this object.

    The width of the BoundingRect of this object.

    Definition Classes
    BoundedElem
  28. def brBounding: Pt2
    Definition Classes
    BoundedElem
  29. def brOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  30. def canEqual(that: Any): Boolean

    This canEqual override allow the comparison of Shapes.

    This canEqual override allow the comparison of Shapes.

    Definition Classes
    Shape
  31. final 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
    EllipseWithCentre
  32. final def cenDefault: Pt2

    The default centre of this object is the centre.

    The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

    Definition Classes
    CentredElemBoundedElem
  33. 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.

    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.

    Definition Classes
    CircleEllipseBased
  34. 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.

    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.

    Definition Classes
    CircleEllipseBased
  35. 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.

    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.

    Definition Classes
    CircleEllipseBased
  36. 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.

    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.

    Definition Classes
    CircleEllipseBased
  37. val cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    CircleWithCentre
  38. val cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    CircleWithCentre
  39. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  40. def cxAttrib: XANumeric
    Definition Classes
    Ellipse
  41. def cyAttrib: XANumeric
    Definition Classes
    Ellipse
  42. val diameter: Double
  43. 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.

    Definition Classes
    EllipseBased
  44. 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.

    Definition Classes
    EllipseBased
  45. def draw(lineColour: Colour = Colour.Black, lineWidth: Double = 2): CircleDraw

    Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

    Draws this geometric element to produce a GraphElem graphical element, tht can be displayed or printed.

    Definition Classes
    CircleEllipseShapeDrawable
  46. def e: Double

    Eccentricity of ellipse.

    Eccentricity of ellipse.

    Definition Classes
    CircleEllipse
  47. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def fTrans(f: (Pt2) => Pt2): Circle
    Definition Classes
    CircleEllipse
  49. def fill(fillColour: Colour): CircleFill

    Returns a fill graphic of this geometric object.

    Returns a fill graphic of this geometric object.

    Definition Classes
    CircleEllipseShapeFillable
  50. def fillDraw(fillColour: Colour, lineColour: Colour, lineWidth: Double): CircleCompound

    Returns a fill and draw graphic of this geometric object.

    Returns a fill and draw graphic of this geometric object.

    Definition Classes
    CircleEllipseFillable
  51. def fillInt(intValue: Int): CircleFill

    Returns a fill graphic of this geometric object from the Int RGBA value.

    Returns a fill graphic of this geometric object from the Int RGBA value.

    Definition Classes
    CircleEllipseShapeFillable
  52. def fillRadial(cenColour: Colour, outerColour: Colour): CircleCompound
  53. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. def h: Double

    The h value of this ellipse.

    The h value of this ellipse.

    Definition Classes
    CircleEllipse
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  57. 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
    AxisFreeGeomElem
  58. 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
    AxisFreeGeomElem
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  61. def productElementNames: Iterator[String]
    Definition Classes
    Product
  62. def prolign(matrix: ProlignMatrix): Circle

    2D Transformation using a ProlignMatrix on a Shape, returns a Shape.

    2D Transformation using a ProlignMatrix on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.

    Definition Classes
    CircleEllipseShapeDrawableGeomElem
  63. def rAttrib: XANumeric
  64. def rMajor: Double

    The major radius of this ellipse, often referred to as a in maths.

    The major radius of this ellipse, often referred to as a in maths.

    Definition Classes
    CircleEllipse
    Annotations
    @inline()
  65. def rMinor: Double

    The major radius of this ellipse,often refered to as b in maths.

    The major radius of this ellipse,often refered to as b in maths.

    Definition Classes
    CircleEllipse
    Annotations
    @inline()
  66. def radius: Double

    Diameter of the circle.

    Diameter of the circle. This has the same value as width, a property that hasn't been created yet.

    Annotations
    @inline()
  67. 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.

    Definition Classes
    CircleEllipseBased
    Annotations
    @inline()
  68. 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.

    Definition Classes
    CircleEllipseBased
    Annotations
    @inline()
  69. def reflect(lineLike: LineLike): Circle

    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
    CircleAxisFreeEllipseShapeDrawableGeomElem
  70. def rotate(angle: AngleVec): Circle

    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
    CircleAxisFreeEllipseShapeDrawableGeomElem
  71. 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
    AxisFreeGeomElem
  72. 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
    AxisFreeGeomElem
  73. 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
    AxisFreeGeomElem
  74. def rxAttrib: XANumeric
    Definition Classes
    Ellipse
  75. def ryAttrib: XANumeric
    Definition Classes
    Ellipse
  76. def scale(operand: Double): Circle

    uniform scaling transformation on a Circle returns a circle.

    uniform scaling transformation on a Circle returns a circle. Use the xyScale method for differential scaling.

    Definition Classes
    CircleEllipselignEllipseShapeDrawableGeomElem
  77. def scaleXY(xOperand: Double, yOperand: Double): Ellipse

    XY scaling 2D geometric transformation on a Shape returns a Shape.

    XY scaling 2D geometric transformation on a Shape returns a Shape. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.

    Definition Classes
    EllipseShapeDrawableGeomElem
  78. def shearX(operand: Double): Ellipse

    Shear 2D geometric transformation along the X Axis on a Shape, returns a Shape.

    Shear 2D geometric transformation along the X Axis on a Shape, returns a Shape. The return type will be narrowed in sub classes and traits.

    Definition Classes
    EllipseShapeDrawableGeomElem
  79. def shearY(operand: Double): Ellipse

    Shear 2D geometric transformation along the Y Axis on a Shape, returns a Shape.

    Shear 2D geometric transformation along the Y Axis on a Shape, returns a Shape. The return type will be narrowed in sub classes and traits.

    Definition Classes
    EllipseShapeDrawableGeomElem
  80. def slateXY(xDelta: Double, yDelta: Double): Circle

    Translate geometric transformation on a Circle returns a Circle.

    Translate geometric transformation on a Circle returns a Circle.

    Definition Classes
    CircleEllipselignEllipseShapeDrawableGeomElem
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def tlBounding: Pt2
    Definition Classes
    BoundedElem
  83. def tlOffset: Vec2
    Definition Classes
    OrdinalEdgePoints
  84. def topLeft: Pt2
    Definition Classes
    CircleOrdinalEdgePoints
  85. def topRight: Pt2
    Definition Classes
    CircleOrdinalEdgePoints
  86. def trBounding: Pt2
    Definition Classes
    BoundedElem
  87. def trOffset: Vec2

    Top right offset from centre.

    Top right offset from centre.

    Definition Classes
    OrdinalEdgePoints
  88. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  90. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  91. def xRadius: Double

    The radius of the axis of the ellipse aligned to the X axis.

    The radius of the axis of the ellipse aligned to the X axis.

    Definition Classes
    CircleEllipselign
    Annotations
    @inline()
  92. def yRadius: Double

    The radius of the axis of the ellipse aligned to the Y axis.

    The radius of the axis of the ellipse aligned to the Y axis.

    Definition Classes
    CircleEllipselign
    Annotations
    @inline()

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 AxisFree

Inherited from OrdinaledElem

Inherited from OrdinalEdgePoints

Inherited from Ellipselign

Inherited from Ellipse

Inherited from ShapeCentred

Inherited from CentredElem

Inherited from Shape

Inherited from BoundedElem

Inherited from Fillable

Inherited from Drawable

Inherited from EllipseBased

Inherited from WithCentre

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped