Packages

class CArc extends EArclign

Circular arc. Has a rotation counter to allow rotation deltas greater than 360 degrees and less than - 360 degrees. The CArc is intended to function as closely as possible to the functioning of CArcTails in a curve path. Hence the decision to store the three points as fields rather using the AngleVec of the arc which would allow less data. This is to avoid calculation /rounding errors in the start and end points, which will be used by other CurveSegs in curve paths.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CArc
  2. EArclign
  3. EArc
  4. CurveSeg
  5. Drawable
  6. EllipseBased
  7. WithCentre
  8. GeomElem
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 addRotations(delta: Int): CArc
    Definition Classes
    CArcEArclignEArc
  5. def angleDelta: AngleVec
    Definition Classes
    EArc
  6. def angleDeltaLimited: AngleVec
    Definition Classes
    EArc
  7. def angleDeltaLimitedYDown: AngleVec
    Definition Classes
    EArc
  8. def angleDeltaYDown: AngleVec
    Definition Classes
    EArc
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def axesPt1: Pt2

    The end of elliptical axis 1.

    The end of elliptical axis 1. By default this is the right vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  11. def axesPt1x: Double

    The Y component of the end point of axis 1, treating this circular arc as an elliptical arc.

    The Y component of the end point of axis 1, treating this circular arc as an elliptical arc. Axis1 is specified as horizontal and point 1 is specified as the right of the circle this CArc is based on.

    Definition Classes
    CArcEllipseBased
  12. def axesPt1y: Double

    The Y component of the end point of axis 1, treating this circular arc as an elliptical arc.

    The Y component of the end point of axis 1, treating this circular arc as an elliptical arc. Axis1 is specified as horizontal and point 1 is specified as the right of the circle this CArc is based on.

    Definition Classes
    CArcEllipseBased
  13. def axesPt2: Pt2

    The start of elliptical axis 2.

    The start of elliptical axis 2. By default this is the bottom vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  14. 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
    CArcEllipseBased
  15. 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
    CArcEllipseBased
  16. def axesPt3: Pt2

    The start of elliptical axis 1.

    The start of elliptical axis 1. By default this is the left vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  17. def axesPt3x: Double

    The X component of the start point of elliptical axis 1.

    The X component of the start point of elliptical axis 1. By default this is the left vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  18. 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
    CArcEllipseBased
  19. def axesPt4: Pt2

    The end of elliptical axis 2.

    The end of elliptical axis 2. By default this is the bottom vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  20. def axesPt4x: Double

    The X component of the end of elliptical axis 2.

    The X component of the end of elliptical axis 2. By default this is the bottom vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  21. def axesPt4y: Double

    The Y component of the end of elliptical axis 2.

    The Y component of the end of elliptical axis 2. By default this is the bottom vertex of the Ellipse, so this point on the circle is given although there is no actual vertex there on this circle, which is a special case of an ellipse.

    Definition Classes
    CArcEllipseBased
  22. def cen: Pt2

    The centre of this circular arc.

    The centre of this circular arc.

    Definition Classes
    CArcWithCentre
  23. def cenEnd: Vec2

    The vector [Vec2] from the centre of the arc to the end point of the arc.

    The vector [Vec2] from the centre of the arc to the end point of the arc.

    Definition Classes
    EArc
  24. 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
    CArcEllipseBased
  25. 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
    CArcEllipseBased
  26. 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
    CArcEllipseBased
  27. 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
    CArcEllipseBased
  28. def cenStart: Vec2

    The vector [Vec2] from the centre of the arc to the start point of the arc.

    The vector [Vec2] from the centre of the arc to the start point of the arc.

    Definition Classes
    EArc
  29. val cenX: Double

    The X component of the centre.

    The X component of the centre.

    Definition Classes
    CArcWithCentre
  30. val cenY: Double

    The Y component of the centre.

    The Y component of the centre.

    Definition Classes
    CArcWithCentre
  31. def chord: LineSeg

    The chord of this Arc

  32. def chordCen: Pt2

    The mid point of the chord of this arc.

  33. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  34. val counter: Int
    Definition Classes
    CArcEArc
  35. 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
  36. 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
  37. def draw(lineColour: Colour, lineWidth: Double): CArcDraw

    Draws this geometric element to produce a CArcDraw graphical element, that can be displayed or printed.

    Draws this geometric element to produce a CArcDraw graphical element, that can be displayed or printed.

    Definition Classes
    CArcEArcDrawable
  38. def endAngle: Angle

    The angle of the end point of the arc, relative to its centre.

    The angle of the end point of the arc, relative to its centre.

    Definition Classes
    EArc
  39. def endAngleYDown: Angle

    The angle of the end point of the arc, relative to its centre.

    The angle of the end point of the arc, relative to its centre.

    Definition Classes
    EArc
  40. def endDegs: Double

    The value of the angle of the end point of the arc, relative to its centre in degrees.

    The value of the angle of the end point of the arc, relative to its centre in degrees.

    Definition Classes
    EArc
  41. val endX: Double

    The X component of the end point of this curve segment.

    The X component of the end point of this curve segment. Often called x2 on a line or x4 on a cubic bezier in other APIs.

    Definition Classes
    CArcCurveSeg
  42. val endY: Double

    The Y component of the end point of this curve segment.

    The Y component of the end point of this curve segment. Often called y2 on a line or y4 on a cubic bezier in other APIs.

    Definition Classes
    CArcCurveSeg
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  45. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. def lsCenEnd: LineSeg

    The line segment [LineSeg] from the centre of the arc to the end point of the arc.

    The line segment [LineSeg] from the centre of the arc to the end point of the arc.

    Definition Classes
    EArc
  49. def lsCenStart: LineSeg

    The line segment [LineSeg] from the centre of the arc to the start point of the arc.

    The line segment [LineSeg] from the centre of the arc to the start point of the arc.

    Definition Classes
    EArc
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def negX: CArc

    Mirror, reflection 2D geometric transformation across the Y axis by negating Xon this CArc returns a CArc.

    Mirror, reflection 2D geometric transformation across the Y axis by negating Xon this CArc returns a CArc.

    Definition Classes
    CArcEArclignEArcCurveSegDrawableGeomElem
  52. def negY: CArc

    Mirror, reflection 2D geometric transformation across the X axis by negating y on this CArc returns a CArc.

    Mirror, reflection 2D geometric transformation across the X axis by negating y on this CArc returns a CArc.

    Definition Classes
    CArcEArclignEArcCurveSegDrawableGeomElem
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  55. final def pEnd: Pt2

    The end point Pt2 of this curve segment.

    The end point Pt2 of this curve segment. Often called p2 on a line or p4 on a cubic bezier in other APIs.

    Definition Classes
    CurveSeg
  56. final def pStart: Pt2

    Start point of this curve segment, often called p1

    Start point of this curve segment, often called p1

    Definition Classes
    CurveSeg
  57. def prolign(matrix: ProlignMatrix): CArc

    2D Transformation using a ProlignMatrix.

    2D Transformation using a ProlignMatrix.

    Definition Classes
    CArcEArclignEArcCurveSegDrawableGeomElem
  58. def radius: Double

    Radius of the this circular arc.

  59. 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
    CArcEllipseBased
  60. 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
    CArcEllipseBased
  61. def reflect(lineLike: LineLike): CArc

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

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

    Definition Classes
    CArcEArcCurveSegDrawableGeomElem
  62. def rotate(angle: AngleVec): CArc

    Rotation 2D geometric transformation on a CArc returns a CArc.

    Rotation 2D geometric transformation on a CArc returns a CArc.

    Definition Classes
    CArcEArcCurveSegDrawableGeomElem
  63. def rotate180: CArc

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

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

    Definition Classes
    CArcEArcCurveSegDrawableGeomElem
  64. def rotate270: CArc

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

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

    Definition Classes
    CArcEArcCurveSegDrawableGeomElem
  65. def rotate90: CArc

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

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

    Definition Classes
    CArcEArclignEArcCurveSegDrawableGeomElem
  66. def scale(operand: Double): CArc

    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
    CArcEArclignEArcCurveSegDrawableGeomElem
  67. def scaleXY(xOperand: Double, yOperand: Double): EArc

    XY scaling 2D geometric transformation on this EArc returns an EArc.This allows different scaling factors across X and Y dimensions.

    XY scaling 2D geometric transformation on this EArc returns an EArc.This allows different scaling factors across X and Y dimensions.

    Definition Classes
    EArcCurveSegDrawableGeomElem
  68. def shearX(operand: Double): EArc

    Shear 2D geometric transformation along the X Axis on this EArc returns an EArc.

    Shear 2D geometric transformation along the X Axis on this EArc returns an EArc.

    Definition Classes
    EArcCurveSegDrawableGeomElem
  69. def shearY(operand: Double): EArc

    Shear 2D geometric transformation along the Y Axis on this EArc, returns an EArc.

    Shear 2D geometric transformation along the Y Axis on this EArc, returns an EArc.

    Definition Classes
    EArcCurveSegDrawableGeomElem
  70. def slateXY(xDelta: Double, yDelta: Double): CArc

    Translate 2D geometric transformation on this CArc returns a CArc.

    Translate 2D geometric transformation on this CArc returns a CArc.

    Definition Classes
    CArcEArclignEArcCurveSegDrawableGeomElem
  71. def startAngle: Angle

    The angle of the start point of the arc, relative to its centre.

    The angle of the start point of the arc, relative to its centre.

    Definition Classes
    EArc
  72. def startAngleYDown: Angle

    The angle of the start point of the arc, relative to its centre for graphical systems where the Y axis points down.

    The angle of the start point of the arc, relative to its centre for graphical systems where the Y axis points down.

    Definition Classes
    EArc
  73. def startDegs: Double

    The value of the angle of the start point of the arc, relative to its centre in degrees.

    The value of the angle of the start point of the arc, relative to its centre in degrees.

    Definition Classes
    EArc
  74. def startDegsYDown: Double

    The value of the angle of the start point of the arc, relative to its centre in degrees.

    The value of the angle of the start point of the arc, relative to its centre in degrees.

    Definition Classes
    EArc
  75. val startX: Double

    The X component of the start point of this curve segment often called x1 in other APIs.

    The X component of the start point of this curve segment often called x1 in other APIs.

    Definition Classes
    CArcCurveSeg
  76. val startY: Double

    The Y component of the start point of this curve segment, often called y1 in other APIs.

    The Y component of the start point of this curve segment, often called y1 in other APIs.

    Definition Classes
    CArcCurveSeg
  77. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  78. def toString(): String
    Definition Classes
    AnyRef → Any
  79. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  80. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. 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
    CArcEArclign
  83. 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
    CArcEArclign

Deprecated Value Members

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

Inherited from EArclign

Inherited from EArc

Inherited from CurveSeg

Inherited from Drawable

Inherited from EllipseBased

Inherited from WithCentre

Inherited from GeomElem

Inherited from AnyRef

Inherited from Any

Ungrouped