| 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Point in PinBallDomain | 
|---|
| Methods in PinBallDomain that return Point | |
|---|---|
 Point | 
Point.add(Point b)
Compute a new point that is this point plus another.  | 
 Point | 
Point.addTo(Point b)
Add another point to this one.  | 
 Point | 
Target.getCenter()
Get the center of the target.  | 
 Point | 
Ball.getCenter()
Obtain the center point of the ball.  | 
 Point | 
Target.getIntercept()
Get a point of intersection.  | 
 Point | 
PolygonObstacle.getIntercept()
Get the last intercept point.  | 
 Point | 
PinBall.getIntercept()
Get the position of the last intercept.  | 
 Point | 
Obstacle.getIntercept()
Get the intercept position with the ball.  | 
 Point | 
Point.minus(Point b)
Compute a new point that is the difference between this point and another.  | 
 Point | 
Point.normalize()
Compute a normalized version of this point.  | 
 Point | 
Point.times(double d)
Compute a new point that is a constant multiple of this point.  | 
| Methods in PinBallDomain that return types with arguments of type Point | |
|---|---|
 java.util.ArrayList<Point> | 
PolygonObstacle.getPoints()
Get the Point variables making up the obstacle.  | 
| Methods in PinBallDomain with parameters of type Point | |
|---|---|
 Point | 
Point.add(Point b)
Compute a new point that is this point plus another.  | 
 Point | 
Point.addTo(Point b)
Add another point to this one.  | 
 double | 
Point.angleBetween(Point p)
Compute the angle between this point and another.  | 
 double | 
Point.distanceTo(Point t)
Get the distance from this point to another.  | 
 double | 
Point.dot(Point b)
Compute the dot product of this and a given point.  | 
 boolean | 
Target.inside(Point p)
Determine whether a point is inside the target.  | 
 boolean | 
PolygonObstacle.inside(Point p)
Determine whether a point lies within the polygon.  | 
 boolean | 
Obstacle.inside(Point p)
Determine whether a point is inside an obstacle.  | 
 Point | 
Point.minus(Point b)
Compute a new point that is the difference between this point and another.  | 
| Constructors in PinBallDomain with parameters of type Point | |
|---|---|
Ball(Point p,
     double rad)
Constructs a new ball given a point and radius.  | 
|
Target(Point P,
       double rad)
Create a new target.  | 
|
  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||