|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Angle | |
|---|---|
| gizmoball.board | |
| gizmoball.shape | |
| physics | |
| Uses of Angle in gizmoball.board |
|---|
| Methods in gizmoball.board that return Angle | |
|---|---|
Angle |
RotatingGizmo.getCurrentAngle()
returns the current angle that the rotating gizmo is at. |
Angle |
RotatingGizmo.getMaxAngle()
returns the max angle that the gizmo can be rotated by. |
| Methods in gizmoball.board with parameters of type Angle | |
|---|---|
RotatingGizmo |
GizmoBoard.addLeftFlipper(java.lang.String name,
java.awt.Color color,
Vect topCenter,
double distanceBetweenCenters,
double radius,
Angle currentAngle)
adds a left flipper to the board. |
RotatingGizmo |
GizmoBoard.addRightFlipper(java.lang.String name,
java.awt.Color color,
Vect topCenter,
double distanceBetweenCenters,
double radius,
Angle currentAngle)
adds a right flipper to the board. |
boolean |
GizmoBoard.canAddLeftFlipper(Vect topCenter,
double distanceBetweenCenters,
double radius,
Angle currentAngle)
checks if a left flipper with the given properties can be added to the board. |
boolean |
GizmoBoard.canAddRightFlipper(Vect topCenter,
double distanceBetweenCenters,
double radius,
Angle currentAngle)
checks if a right flipper with the given properties can be added to the board. |
boolean |
GizmoBoard.canRotateGizmo(Gizmo g,
Angle angle,
Vect centerOfRotation)
checks if the given gizmo can rotate by the given angle and around the given center of rotation. |
void |
GizmoBoard.RotateGizmo(Gizmo g,
Angle angle,
Vect centerOfRotation)
|
| Constructors in gizmoball.board with parameters of type Angle | |
|---|---|
RotatingGizmo(java.lang.String name,
java.awt.Color color,
Shape shape,
double rotatingVel,
double currentRotVel,
Polygon enclosingPoly,
Vect centerOfRotation,
Angle maxAngle,
Angle currentAngle)
Constructs a RotatingGizmo object |
|
| Uses of Angle in gizmoball.shape |
|---|
| Methods in gizmoball.shape with parameters of type Angle | |
|---|---|
UnionShape |
UnionShape.rotate(Angle theta,
Vect centerOfRotation)
returns a new UnionShape rotated by specified angle around center of rotation |
Shape |
Shape.rotate(Angle theta,
Vect centerOfRotation)
This method rotates a shape around an arbitrary point and returns the new shape |
Polygon |
Polygon.rotate(Angle theta,
Vect centerOfRotation)
Rotates the polygon by an Angle theta around an arbitrary point centerOfRotation and returns the new Polygon object |
FlipperShape |
FlipperShape.rotate(Angle theta,
Vect centerOfRotation)
Rotates shape around Angle theta and center of rotation and returns the new shape |
Circle09 |
Circle09.rotate(Angle theta,
Vect centerOfRotation)
rotates the circle by angle theta about a point and returns the new circle |
| Uses of Angle in physics |
|---|
| Fields in physics declared as Angle | |
|---|---|
static Angle |
Angle.DEG_135
A 135-degree angle |
static Angle |
Angle.DEG_180
A 180-degree angle |
static Angle |
Angle.DEG_225
A 225-degree angle |
static Angle |
Angle.DEG_270
A 270-degree angle |
static Angle |
Angle.DEG_315
A 315-degree angle |
static Angle |
Angle.DEG_45
A 45-degree angle |
static Angle |
Angle.DEG_90
A 90-degree angle |
static Angle |
Angle.RAD_PI
An angle of pi radians |
static Angle |
Angle.RAD_PI_OVER_FOUR
An angle of pi/4 radians |
static Angle |
Angle.RAD_PI_OVER_TWO
An angle of pi/2 radians |
static Angle |
Angle.ZERO
A zero-degree or zero-radian angle |
| Methods in physics that return Angle | |
|---|---|
Angle |
Vect.angle()
|
Angle |
LineSegment.angle()
|
Angle |
Angle.minus(Angle a)
|
Angle |
Angle.plus(Angle a)
|
| Methods in physics with parameters of type Angle | |
|---|---|
int |
Angle.compareTo(Angle c)
Compares this object with the specified object for order. |
boolean |
Angle.equals(Angle a)
|
Angle |
Angle.minus(Angle a)
|
Angle |
Angle.plus(Angle a)
|
Circle |
GeometryInterface.rotateAround(Circle circle,
Vect cor,
Angle a)
Specified by Geometry.rotateAround |
Circle |
GeometryImpl.rotateAround(Circle circle,
Vect cor,
Angle a)
|
Circle |
GeometryCompare.rotateAround(Circle circle,
Vect cor,
Angle a)
|
static Circle |
Geometry.rotateAround(Circle circle,
Vect cor,
Angle a)
Rotates the circle represented by circle by a around the center of
rotation, cor, and returns the result. |
LineSegment |
GeometryInterface.rotateAround(LineSegment line,
Vect cor,
Angle a)
Specified by Geometry.rotateAround |
LineSegment |
GeometryImpl.rotateAround(LineSegment line,
Vect cor,
Angle a)
|
LineSegment |
GeometryCompare.rotateAround(LineSegment line,
Vect cor,
Angle a)
|
static LineSegment |
Geometry.rotateAround(LineSegment line,
Vect cor,
Angle a)
Rotates the line segment represented by line by a around the center of
rotation, cor, and returns the result. |
Vect |
GeometryInterface.rotateAround(Vect point,
Vect cor,
Angle a)
Specified by Geometry.rotateAround |
Vect |
GeometryImpl.rotateAround(Vect point,
Vect cor,
Angle a)
|
Vect |
GeometryCompare.rotateAround(Vect point,
Vect cor,
Angle a)
|
static Vect |
Geometry.rotateAround(Vect point,
Vect cor,
Angle a)
Rotates the point represented by p by
a around the center of rotation, cor,
and returns the result. |
Vect |
Vect.rotateBy(Angle a)
|
| Constructors in physics with parameters of type Angle | |
|---|---|
Vect(Angle angle)
|
|
Vect(Angle angle,
double length)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||