|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point2D | |
---|---|
java.awt | Minimal AWT package for shape classes with integer co-ordinates |
java.awt.geom | Minimal awt.geom package for Point2D, Line2D and Rectangle2D |
lejos.robotics.proposal | Support for maps |
Uses of Point2D in java.awt |
---|
Subclasses of Point2D in java.awt | |
---|---|
class |
Point
Represents a point in two dimensional space using integer co-ordinates |
Methods in java.awt with parameters of type Point2D | |
---|---|
boolean |
Shape.contains(Point2D p)
Test if the shape contains the Point2D |
Uses of Point2D in java.awt.geom |
---|
Subclasses of Point2D in java.awt.geom | |
---|---|
static class |
Point2D.Double
A point with double coordinates. |
static class |
Point2D.Float
A point with float coordinates. |
Methods in java.awt.geom that return Point2D | |
---|---|
abstract Point2D |
Line2D.getP1()
Get the start point of the line as a Point2D |
Point2D |
Line2D.Float.getP1()
|
Point2D |
Line2D.Double.getP1()
|
abstract Point2D |
Line2D.getP2()
Get the end point of the line as a Point2D |
Point2D |
Line2D.Float.getP2()
|
Point2D |
Line2D.Double.getP2()
|
Methods in java.awt.geom with parameters of type Point2D | |
---|---|
boolean |
RectangularShape.contains(Point2D p)
Test if the shape contains a Point2D |
boolean |
Line2D.contains(Point2D p)
|
double |
Point2D.distance(Point2D pt)
Get the distance from this point to a given point asa double |
double |
Point2D.distanceSq(Point2D pt)
Get the square of the distance of this point to a given point |
int |
Rectangle2D.outcode(Point2D p)
Returns a mask value that specifies where a given point lies with respect to this rectangle. |
int |
Line2D.relativeCCW(Point2D p)
Returns an indicator of where the specified point lies with respect to the line |
void |
Line2D.setLine(Point2D p1,
Point2D p2)
Sets the end points of the line from a given start and end point |
void |
Point2D.setLocation(Point2D p)
Set the location of this Point2D to the same as a specified Point2D |
Uses of Point2D in lejos.robotics.proposal |
---|
Subclasses of Point2D in lejos.robotics.proposal | |
---|---|
class |
WayPoint
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |