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.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait EArcligntrait EArctrait CurveSegtrait Drawabletrait EllipseBasedtrait WithCentretrait Aff2Elemtrait Simil2Elemtrait Axlign2Elemclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
The centre of this circular arc.
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.
Attributes
- Definition Classes
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.
Attributes
- Definition Classes
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.
Attributes
- Definition Classes
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.
Attributes
- Definition Classes
The mid-point of the chord of this arc.
The mid-point of the chord of this arc.
Attributes
Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.
Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
2D Transformation using a AxlignMatrix. The return type will be narrowed in sub classes / traits.
2D Transformation using a AxlignMatrix. The return type will be narrowed in sub classes / traits.
Attributes
- Definition Classes
Radius 1 of the ellipse. This extends from the centre to point 1 or point 3. By default, this is the horizontal axis of the ellipse. This can be the major or minor axis.
Radius 1 of the ellipse. This extends from the centre to point 1 or point 3. By default, this is the horizontal axis of the ellipse. This can be the major or minor axis.
Attributes
- Definition Classes
Radius 2 of the ellipse. By default, this is the vertical axis of the ellipse. This can be the major or minor axis.
Radius 2 of the ellipse. By default, this is the vertical axis of the ellipse. This can be the major or minor axis.
Attributes
- Definition Classes
Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in subclasses and traits.
Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in subclasses and traits.
Attributes
- Definition Classes
Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in subclasses and traits.
Rotation 2D geometric transformation on a GeomElem. The return type will be narrowed in subclasses and traits.
Attributes
- Definition Classes
Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in subclasses and traits.
Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in subclasses and traits.
Attributes
- Definition Classes
Rotation positive or anti-clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in subclasses and traits.
Rotation positive or anti-clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in subclasses and traits.
Attributes
- Definition Classes
Rotation positive or anti-clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in subclasses and traits.
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.
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.
Attributes
- Definition Classes
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.
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.
Attributes
- Definition Classes
Translate 2D geometric transformation in the X dimension, returning a GeomElem. The Return type will be narrowed in sub traits.
Translate 2D geometric transformation in the X dimension, returning a GeomElem. The Return type will be narrowed in sub traits.
Attributes
- Definition Classes
Translate 2D geometric transformation in the Y dimension, returning a GeomElem. The Return type will be narrowed in sub traits.
Translate 2D geometric transformation in the Y dimension, returning a GeomElem. The Return type will be narrowed in sub traits.
Attributes
- Definition Classes
The radius of the axis of the ellipse aligned to the X axis.
Inherited methods
Attributes
- Inherited from:
- EArc
Attributes
- Inherited from:
- EArc
Attributes
- Inherited from:
- EArc
Attributes
- Inherited from:
- EArc
Attributes
- Inherited from:
- CurveSeg
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.
Attributes
- Inherited from:
- EArc
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.
Attributes
- Inherited from:
- EArc
Diameter 1 of the ellipse. This extends from point 3 to point1 By default, this is the horizontal axis of the ellipse. This can be the major or minor axis.
Diameter 1 of the ellipse. This extends from point 3 to point1 By default, this is the horizontal axis of the ellipse. This can be the major or minor axis.
Attributes
- Inherited from:
- EllipseBased
Diameter 2 of this ellipse. By default, this is the vertical axis of the ellipse. This can be the major or minor axis.
Diameter 2 of this ellipse. By default, this is the vertical axis of the ellipse. This can be the major or minor axis.
Attributes
- Inherited from:
- EllipseBased
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.
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.
Attributes
- Inherited from:
- EArc
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.
Attributes
- Inherited from:
- EArc
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.
Attributes
- Inherited from:
- EArc
Start point of this curve segment, often called p1
Scaling X and Y axes independently, 2D geometric transformation on this Aff2Elem, returns a new Aff2Elem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in subclasses and traits. This is an affine transformation, but it is not a similar transformation.
Scaling X and Y axes independently, 2D geometric transformation on this Aff2Elem, returns a new Aff2Elem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in subclasses and traits. This is an affine transformation, but it is not a similar transformation.
Attributes
- Definition Classes
- Inherited from:
- EArc
Shear 2D geometric transformation along the X Axis on a GeomElem. The return type will be narrowed in subclasses and traits. This is an affine transformation, but it is not a similar transformation.
Shear 2D geometric transformation along the Y Axis on a GeomElem. The return type will be narrowed in subclasses and traits. This is an affine transformation, but it is not a similar transformation.
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 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.
Attributes
- Inherited from:
- EArc
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.
Attributes
- Inherited from:
- EArc
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.
Attributes
- Inherited from:
- EArc
Concrete fields
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.
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.
Attributes
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.
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.
Attributes
The number of full rotations in this arc. A value of 0 specifies a positive or anti-clockwise rotation of 0° >= r < 360°. A value of 1 specifies a positive or anti-clockwise rotation of 360° >= r < 720°. A value of -1 specifies a negative or clockwise rotation of 0° >= r < 360°. A value of -1 specifies a negative or clockwise rotation of 360° >= r < 720°.
The number of full rotations in this arc. A value of 0 specifies a positive or anti-clockwise rotation of 0° >= r < 360°. A value of 1 specifies a positive or anti-clockwise rotation of 360° >= r < 720°. A value of -1 specifies a negative or clockwise rotation of 0° >= r < 360°. A value of -1 specifies a negative or clockwise rotation of 360° >= r < 720°.
Attributes
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.