# Uses of Class
org.eclipse.gef.geometry.euclidean.Angle

Packages that use Angle
Package
Description
org.eclipse.gef.geometry.euclidean
This package provides core abstractions to support calculations within 2-dimensional Euclidean space.
org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.

## Uses of Angle in org.eclipse.gef.geometry.euclidean

Methods in org.eclipse.gef.geometry.euclidean that return Angle
Modifier and Type
Method
Description
`Angle`
Angle.`clone()`
Overridden with public visibility as proposed in `Cloneable`.
`static Angle`
Angle.`fromDeg(double degrees)`
Constructs a new `Angle` object representing the given value.
`static Angle`
Angle.`fromRad(double radians)`
Constructs a new `Angle` object representing the given value.
`Angle`
Angle.`getAdded(Angle other)`
Returns the sum of this and the given other `Angle` object as a new `Angle` object.
`Angle`
Straight.`getAngle(Straight other)`
Returns the (smallest) `Angle` between this `Straight` and the provided one.
`Angle`
Vector.`getAngle(Vector other)`
Returns the smallest `Angle` between this `Vector` and the provided one.
`Angle`
Straight.`getAngleCCW(Straight other)`
Returns the counter-clockwise (CCW) or positive `Angle` spanned between the two `Straight`s.
`Angle`
Vector.`getAngleCCW(Vector other)`
Returns the counter-clockwise (CCW) `Angle` between this `Vector` and the provided one.
`Angle`
Straight.`getAngleCW(Straight other)`
Returns the clockwise (CW) or negative `Angle` spanned between the two `Straight`s.
`Angle`
Vector.`getAngleCW(Vector other)`
Returns the clockwise (CW) `Angle` between this `Vector` and the provided one.
`Angle`
Angle.`getCopy()`
Creates and returns a copy of this `Angle`.
`Angle`
Angle.`getDeltaCCW(Angle other)`
Returns the difference between this `Angle` and another `Angle` in a counter-clockwise direction
`Angle`
Angle.`getDeltaCW(Angle other)`
Returns the difference between this `Angle` and another `Angle` in a clockwise direction
`Angle`
Angle.`getMultiplied(double factor)`
Returns a new `Angle` object representing this `Angle` multiplied by the given factor.
`Angle`
Angle.`getOppositeFull()`
Returns the opposite `Angle` of this `Angle` in a full circle as a new `Angle` object.
`Angle`
Angle.`getOppositeSemi()`
Returns the opposite `Angle` of this `Angle` in a semi-circle as a new `Angle` object.
`Angle`
Angle.`getReverse()`
Returns the reverse `Angle` of this `Angle` in a full circle as a new `Angle` object.
`Angle`
Angle.`setDeg(double degrees)`
Sets this `Angle`'s value to the passed-in value in degrees.
`Angle`
Angle.`setRad(double radians)`
Sets this `Angle`'s value to the passed-in value in radians.
Methods in org.eclipse.gef.geometry.euclidean with parameters of type Angle
Modifier and Type
Method
Description
`Angle`
Angle.`getAdded(Angle other)`
Returns the sum of this and the given other `Angle` object as a new `Angle` object.
`Angle`
Angle.`getDeltaCCW(Angle other)`
Returns the difference between this `Angle` and another `Angle` in a counter-clockwise direction
`Angle`
Angle.`getDeltaCW(Angle other)`
Returns the difference between this `Angle` and another `Angle` in a clockwise direction
`Vector`
Vector.`getRotatedCCW(Angle angle)`
Returns a new `Vector` which corresponds to this `Vector` after rotating it counter-clockwise (CCW) by the given `Angle`.
`Vector`
Vector.`getRotatedCW(Angle angle)`
Returns a new `Vector` which corresponds to this `Vector` after rotating it clockwise (CW) by the given `Angle`.
`boolean`
Angle.`isClockwise(Angle other)`
Tests if the other `Angle` is within a half-circle clockwise rotation from this `Angle`
`Vector`
Vector.`rotateCCW(Angle angle)`
Rotates this `Vector` counter-clockwise (CCW) by the given `Angle`.
`Vector`
Vector.`rotateCW(Angle angle)`
Rotates this `Vector` clockwise (CW) by the given `Angle`.

## Uses of Angle in org.eclipse.gef.geometry.planar

Fields in org.eclipse.gef.geometry.planar declared as Angle
Modifier and Type
Field
Description
`protected Angle`
AbstractArcBasedGeometry.`angularExtent`
The counter-clockwise (CCW) `Angle` that spans this `AbstractArcBasedGeometry`.
`protected Angle`
AbstractArcBasedGeometry.`angularExtent`
The counter-clockwise (CCW) `Angle` that spans this `AbstractArcBasedGeometry`.
`protected Angle`
AbstractArcBasedGeometry.`startAngle`
The counter-clockwise (CCW) `Angle` to the x-axis at which this `AbstractArcBasedGeometry` begins.
`protected Angle`
AbstractArcBasedGeometry.`startAngle`
The counter-clockwise (CCW) `Angle` to the x-axis at which this `AbstractArcBasedGeometry` begins.
Methods in org.eclipse.gef.geometry.planar that return Angle
Modifier and Type
Method
Description
`Angle`
Line.`getDirectionCCW()`
Returns the counter-clockwise angle between the x axis and this `Line`.
`Angle`
Line.`getDirectionCW()`
Returns the clockwise angle between the x axis and this `Line`.
`Angle`
AffineTransform.`getRotation()`
Returns the rotation component of this `AffineTransform`.
Methods in org.eclipse.gef.geometry.planar with parameters of type Angle
Modifier and Type
Method
Description
`PolyBezier`
Arc.`getRotatedCCW(Angle angle)`
`PolyBezier`
Arc.`getRotatedCCW(Angle angle, double cx, double cy)`
`PolyBezier`
Arc.`getRotatedCCW(Angle angle, Point center)`
`BezierCurve`
BezierCurve.`getRotatedCCW(Angle angle)`
`BezierCurve`
BezierCurve.`getRotatedCCW(Angle angle, double cx, double cy)`
`BezierCurve`
BezierCurve.`getRotatedCCW(Angle angle, Point center)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCCW(Angle angle)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCCW(Angle angle, double cx, double cy)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
Ellipse.`getRotatedCCW(Angle angle)`
`PolyBezier`
Ellipse.`getRotatedCCW(Angle angle, double cx, double cy)`
`PolyBezier`
Ellipse.`getRotatedCCW(Angle angle, Point center)`
`T`
IRotatable.`getRotatedCCW(Angle angle)`
Rotates the calling object by specified `Angle` counter-clock-wise (CCW) around its center `Point`.
`T`
IRotatable.`getRotatedCCW(Angle angle, double cx, double cy)`
Rotates the calling object by the specified `Angle` counter-clock-wise (CCW) around the specified center `Point` (cx, cy).
`T`
IRotatable.`getRotatedCCW(Angle angle, Point center)`
Rotates the calling object by the specified `Angle` counter-clock-wise (CCW) around the specified center `Point`.
`Path`
Pie.`getRotatedCCW(Angle angle)`
`Path`
Pie.`getRotatedCCW(Angle angle, double cx, double cy)`
`Path`
Pie.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
PolyBezier.`getRotatedCCW(Angle angle)`
`PolyBezier`
PolyBezier.`getRotatedCCW(Angle angle, double cx, double cy)`
`PolyBezier`
PolyBezier.`getRotatedCCW(Angle angle, Point center)`
`Polygon`
Rectangle.`getRotatedCCW(Angle alpha)`
Rotates this `Rectangle` counter-clock-wise by the given `Angle` around the center `Point` of this `Rectangle` (see `AbstractRectangleBasedGeometry.getCenter()`).
`Polygon`
Rectangle.`getRotatedCCW(Angle alpha, double cx, double cy)`
Rotates this `Rectangle` counter-clock-wise by the given `Angle` around the given `Point`.
`Polygon`
Rectangle.`getRotatedCCW(Angle alpha, Point center)`
Rotates this `Rectangle` counter-clock-wise by the given `Angle` around the given `Point`.
`Ring`
Region.`getRotatedCCW(Angle angle)`
`Ring`
Region.`getRotatedCCW(Angle angle, double cx, double cy)`
`Ring`
Region.`getRotatedCCW(Angle angle, Point center)`
`Ring`
Ring.`getRotatedCCW(Angle angle)`
`Ring`
Ring.`getRotatedCCW(Angle angle, double cx, double cy)`
`Ring`
Ring.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
RoundedRectangle.`getRotatedCCW(Angle angle)`
`PolyBezier`
RoundedRectangle.`getRotatedCCW(Angle angle, double cx, double cy)`
`PolyBezier`
RoundedRectangle.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
Arc.`getRotatedCW(Angle angle)`
`PolyBezier`
Arc.`getRotatedCW(Angle angle, double cx, double cy)`
`PolyBezier`
Arc.`getRotatedCW(Angle angle, Point center)`
`BezierCurve`
BezierCurve.`getRotatedCW(Angle angle)`
`BezierCurve`
BezierCurve.`getRotatedCW(Angle angle, double cx, double cy)`
`BezierCurve`
BezierCurve.`getRotatedCW(Angle angle, Point center)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCW(Angle angle)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCW(Angle angle, double cx, double cy)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCW(Angle angle, Point center)`
`PolyBezier`
Ellipse.`getRotatedCW(Angle angle)`
`PolyBezier`
Ellipse.`getRotatedCW(Angle angle, double cx, double cy)`
`PolyBezier`
Ellipse.`getRotatedCW(Angle angle, Point center)`
`T`
IRotatable.`getRotatedCW(Angle angle)`
Rotates the calling object by specified `Angle` clock-wise (CW) around its center `Point`.
`T`
IRotatable.`getRotatedCW(Angle angle, double cx, double cy)`
Rotates the calling object by the specified `Angle` clock-wise (CW) around the specified center `Point` (cx, cy).
`T`
IRotatable.`getRotatedCW(Angle angle, Point center)`
Rotates the calling object by the specified `Angle` clock-wise (CW) around the specified center `Point`.
`Path`
Pie.`getRotatedCW(Angle angle)`
`Path`
Pie.`getRotatedCW(Angle angle, double cx, double cy)`
`Path`
Pie.`getRotatedCW(Angle angle, Point center)`
`PolyBezier`
PolyBezier.`getRotatedCW(Angle angle)`
`PolyBezier`
PolyBezier.`getRotatedCW(Angle angle, double cx, double cy)`
`PolyBezier`
PolyBezier.`getRotatedCW(Angle angle, Point center)`
`Polygon`
Rectangle.`getRotatedCW(Angle alpha)`
Rotates this `Rectangle` clock-wise by the given `Angle` around the center (`AbstractRectangleBasedGeometry.getCenter()`) of this `Rectangle`.
`Polygon`
Rectangle.`getRotatedCW(Angle alpha, double cx, double cy)`
Rotates this `Rectangle` clock-wise by the given `Angle` alpha around the given `Point` (cx, cy).
`Polygon`
Rectangle.`getRotatedCW(Angle alpha, Point center)`
Rotates this `Rectangle` clock-wise by the given `Angle` alpha around the given `Point`.
`Ring`
Region.`getRotatedCW(Angle angle)`
`Ring`
Region.`getRotatedCW(Angle angle, double cx, double cy)`
`Ring`
Region.`getRotatedCW(Angle angle, Point center)`
`Ring`
Ring.`getRotatedCW(Angle angle)`
`Ring`
Ring.`getRotatedCW(Angle angle, double cx, double cy)`
`Ring`
Ring.`getRotatedCW(Angle angle, Point center)`
`PolyBezier`
RoundedRectangle.`getRotatedCW(Angle angle)`
`PolyBezier`
RoundedRectangle.`getRotatedCW(Angle angle, double cx, double cy)`
`PolyBezier`
RoundedRectangle.`getRotatedCW(Angle angle, Point center)`
`static PolyBezier`
PolyBezier.`interpolateCubic(Angle startAngle, double startLength, Angle endAngle, double endLength, double curveWidthCoefficient, Point... wayPoints)`
Creates a `PolyBezier` consisting of continuous `CubicCurve` segments through the given `Point`s.
`BezierCurve`
BezierCurve.`rotateCCW(Angle angle)`
Directly rotates this `BezierCurve` counter-clockwise (CCW) around its center `Point` by the given `Angle`.
`BezierCurve`
BezierCurve.`rotateCCW(Angle angle, double cx, double cy)`
Directly rotates this `BezierCurve` counter-clockwise (CCW) around the `Point` specified by the given x and y coordinate values by the given `Angle`.
`BezierCurve`
BezierCurve.`rotateCCW(Angle angle, Point center)`
Directly rotates this `BezierCurve` counter-clockwise (CCW) around the given `Point` by the given `Angle`.
`CurvedPolygon`
CurvedPolygon.`rotateCCW(Angle angle)`
Rotates this `CurvedPolygon` counter-clockwise (CCW) by the given `Angle` around the center `Point` of this `CurvedPolygon`.
`CurvedPolygon`
CurvedPolygon.`rotateCCW(Angle angle, double cx, double cy)`
Rotates this `CurvedPolygon` counter-clockwise (CCW) by the given `Angle` around the `Point` specified by the given x and y coordinates.
`CurvedPolygon`
CurvedPolygon.`rotateCCW(Angle angle, Point center)`
Rotates this `CurvedPolygon` counter-clockwise (CCW) by the given `Angle` around the given `Point`.
`static void`
Point.`rotateCCW(Point[] points, Angle angle, double cx, double cy)`
Rotates (in-place) the given `Point`s counter-clock-wise (CCW) by the specified `Angle` around the given center `Point`.
`PolyBezier`
PolyBezier.`rotateCCW(Angle angle)`
Directly rotates this `PolyBezier` counter-clock-wise around its center `Point` by the given `Angle`.
`PolyBezier`
PolyBezier.`rotateCCW(Angle angle, double cx, double cy)`
Directly rotates this `PolyBezier` counter-clock-wise around the given point (specified by cx and cy) by the given `Angle`.
`PolyBezier`
PolyBezier.`rotateCCW(Angle angle, Point center)`
Directly rotates this `PolyBezier` counter-clock-wise around the given `Point` by the given `Angle`.
`Ring`
Ring.`rotateCCW(Angle angle)`
Directly rotates this `Ring` counter-clock-wise around its center `Point` by the given `Angle`.
`Ring`
Ring.`rotateCCW(Angle angle, double cx, double cy)`
Directly rotates this `Ring` counter-clock-wise around the given point (specified by cx and cy) by the given `Angle`.
`Ring`
Ring.`rotateCCW(Angle angle, Point center)`
Directly rotates this `Ring` counter-clock-wise around the given `Point` by the given `Angle`.
`BezierCurve`
BezierCurve.`rotateCW(Angle angle)`
Directly rotates this `BezierCurve` clockwise (CW) around its center `Point` by the given `Angle`.
`BezierCurve`
BezierCurve.`rotateCW(Angle angle, double cx, double cy)`
Directly rotates this `BezierCurve` clockwise (CW) around the `Point` specified by the given x and y coordinate values by the given `Angle`.
`BezierCurve`
BezierCurve.`rotateCW(Angle angle, Point center)`
Directly rotates this `BezierCurve` clockwise (CW) around the given `Point` by the given `Angle`.
`CurvedPolygon`
CurvedPolygon.`rotateCW(Angle angle)`
Rotates this `CurvedPolygon` counter-clockwise (CCW) by the given `Angle` around the center `Point` of this `CurvedPolygon`.
`CurvedPolygon`
CurvedPolygon.`rotateCW(Angle angle, double cx, double cy)`
Rotates this `CurvedPolygon` clockwise (CW) by the given `Angle` around the `Point` specified by the given x and y coordinates.
`CurvedPolygon`
CurvedPolygon.`rotateCW(Angle angle, Point center)`
Rotates this `CurvedPolygon` clockwise (CW) by the given `Angle` around the given `Point`.
`static void`
Point.`rotateCW(Point[] points, Angle angle, double cx, double cy)`
Rotates (in-place) the given `Point`s clock-wise (CW) by the specified `Angle` around the given center `Point`.
`PolyBezier`
PolyBezier.`rotateCW(Angle angle)`
Directly rotates this `PolyBezier` clock-wise around its center `Point` by the given `Angle`.
`PolyBezier`
PolyBezier.`rotateCW(Angle angle, double cx, double cy)`
Directly rotates this `PolyBezier` clock-wise around the given point (specified by cx and cy) by the given `Angle`.
`PolyBezier`
PolyBezier.`rotateCW(Angle angle, Point center)`
Directly rotates this `PolyBezier` clock-wise around the given `Point` by the given `Angle`.
`Ring`
Ring.`rotateCW(Angle angle)`
Directly rotates this `Ring` clock-wise around its center `Point` by the given `Angle`.
`Ring`
Ring.`rotateCW(Angle angle, double cx, double cy)`
Directly rotates this `Ring` clock-wise around the given point (specified by cx and cy) by the given `Angle`.
`Ring`
Ring.`rotateCW(Angle angle, Point center)`
Directly rotates this `Ring` clock-wise around the given `Point` by the given `Angle`.
Constructors in org.eclipse.gef.geometry.planar with parameters of type Angle
Modifier
Constructor
Description
``
`Arc(double x, double y, double width, double height, Angle startAngle, Angle angularExtent)`
Constructs a new `Arc` of the given values.
``
`Arc(org.eclipse.gef.geometry.planar.AbstractRectangleBasedGeometry<?,?> r, Angle startAngle, Angle angularExtent)`
Constructs a new `Arc` of the given values.
``
`Pie(double x, double y, double width, double height, Angle startAngle, Angle angularExtent)`
Constructs a new `Pie` from the given values.
``
`Pie(org.eclipse.gef.geometry.planar.AbstractRectangleBasedGeometry<?,?> r, Angle startAngle, Angle angularExtent)`
Constructs a new `Pie` from the given values.