Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
java.awt.geom.Point2D

Uses of Point2D in java.awt.geom
 

Subclasses of Point2D in java.awt.geom
static class Point2D.Double
          This class defines a point in double precision.
static class Point2D.Float
          This class defines a point in float precision.
 

Fields in java.awt.geom declared as Point2D
(package private)  Point2D Area.Intersection.p
           
(package private)  Point2D Area.Segment.P1
           
(package private)  Point2D Area.Segment.P2
           
(package private)  Point2D Area.QuadSegment.cp
           
(package private)  Point2D Area.CubicSegment.cp1
           
(package private)  Point2D Area.CubicSegment.cp2
           
 

Methods in java.awt.geom that return Point2D
 Point2D AffineTransform.transform(Point2D src, Point2D dst)
          Perform this transformation on the given source point, and store the result in the destination (creating it if necessary).
 Point2D AffineTransform.inverseTransform(Point2D src, Point2D dst)
          Perform the inverse of this transformation on the given source point, and store the result in the destination (creating it if necessary).
 Point2D AffineTransform.deltaTransform(Point2D src, Point2D dst)
          Perform this transformation, less any translation, on the given source point, and store the result in the destination (creating it if necessary).
 Point2D GeneralPath.getCurrentPoint()
          Returns the current appending point of the path.
abstract  Point2D QuadCurve2D.getP1()
          Returns the curve’s start point.
abstract  Point2D QuadCurve2D.getCtrlPt()
          Returns the curve’s control point.
abstract  Point2D QuadCurve2D.getP2()
          Returns the curve’s end point.
 Point2D QuadCurve2D.Double.getP1()
          Returns the curve’s start point.
 Point2D QuadCurve2D.Double.getCtrlPt()
          Returns the curve’s control point.
 Point2D QuadCurve2D.Double.getP2()
          Returns the curve’s end point.
 Point2D QuadCurve2D.Float.getP1()
          Returns the curve’s start point.
 Point2D QuadCurve2D.Float.getCtrlPt()
          Returns the curve’s control point.
 Point2D QuadCurve2D.Float.getP2()
          Returns the curve’s end point.
abstract  Point2D Line2D.getP1()
          Return the first point.
abstract  Point2D Line2D.getP2()
          Return the second point.
 Point2D Line2D.Double.getP1()
          Return the first point.
 Point2D Line2D.Double.getP2()
          Return the second point.
 Point2D Line2D.Float.getP1()
          Return the first point.
 Point2D Line2D.Float.getP2()
          Return the second point.
abstract  Point2D CubicCurve2D.getP1()
          Returns the curve’s start point.
abstract  Point2D CubicCurve2D.getCtrlP1()
          Returns the curve’s first control point.
abstract  Point2D CubicCurve2D.getCtrlP2()
          Returns the curve’s second control point.
abstract  Point2D CubicCurve2D.getP2()
          Returns the curve’s end point.
 Point2D CubicCurve2D.Double.getP1()
          Returns the curve’s start point.
 Point2D CubicCurve2D.Double.getCtrlP1()
          Returns the curve’s first control point.
 Point2D CubicCurve2D.Double.getCtrlP2()
          Returns the curve’s second control point.
 Point2D CubicCurve2D.Double.getP2()
          Returns the curve’s end point.
 Point2D CubicCurve2D.Float.getP1()
          Returns the curve’s start point.
 Point2D CubicCurve2D.Float.getCtrlP1()
          Returns the curve’s first control point.
 Point2D CubicCurve2D.Float.getCtrlP2()
          Returns the curve’s second control point.
 Point2D CubicCurve2D.Float.getP2()
          Returns the curve’s end point.
(package private) abstract  Point2D Area.Segment.getMidPoint()
          Returns the segment's midpoint
(package private)  Point2D Area.LineSegment.getMidPoint()
          Returns the segment's midpoint
(package private)  Point2D Area.QuadSegment.evaluatePoint(double t)
          Returns a Point2D corresponding to the parametric value t of the curve
(package private)  Point2D Area.QuadSegment.getMidPoint()
          Returns the segment's midpoint
(package private)  Point2D Area.CubicSegment.evaluatePoint(double t)
          Returns a Point2D corresponding to the parametric value t of the curve
(package private)  Point2D Area.CubicSegment.getMidPoint()
          Returns the segment's midpoint
 Point2D Arc2D.getStartPoint()
          Returns the starting point of the arc.
 Point2D Arc2D.getEndPoint()
          Returns the ending point of the arc.
 

Methods in java.awt.geom with parameters of type Point2D
 Point2D AffineTransform.transform(Point2D src, Point2D dst)
          Perform this transformation on the given source point, and store the result in the destination (creating it if necessary).
 void AffineTransform.transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int num)
          Perform this transformation on an array of points, storing the results in another (possibly same) array.
 Point2D AffineTransform.inverseTransform(Point2D src, Point2D dst)
          Perform the inverse of this transformation on the given source point, and store the result in the destination (creating it if necessary).
 Point2D AffineTransform.deltaTransform(Point2D src, Point2D dst)
          Perform this transformation, less any translation, on the given source point, and store the result in the destination (creating it if necessary).
 void Point2D.setLocation(Point2D p)
          Set the location of this point to the new coordinates.
 double Point2D.distanceSq(Point2D p)
          Return the square of the distance from this point to the given one.
 double Point2D.distance(Point2D p)
          Return the distance from this point to the given one.
 void RectangularShape.setFrame(Point2D p, Dimension2D d)
          Set the framing rectangle of this shape to the given coordinate and size.
 void RectangularShape.setFrameFromDiagonal(Point2D p1, Point2D p2)
          Set the framing rectangle of this shape using two points on a diagonal.
 void RectangularShape.setFrameFromCenter(Point2D center, Point2D corner)
          Set the framing rectangle of this shape using the center of the frame, and one of the four corners.
 boolean RectangularShape.contains(Point2D p)
          Tests if a point is inside the boundary of the shape.
 int Rectangle2D.outcode(Point2D p)
          Determine where the point lies with respect to this rectangle.
 void Rectangle2D.add(Point2D p)
          Modifies this rectangle so that it represents the smallest rectangle that contains both the existing rectangle and the specified point.
 boolean GeneralPath.contains(Point2D p)
          Evaluates if a Point2D is within the GeneralPath, The NON_ZERO winding rule is used, regardless of the set winding rule.
 void QuadCurve2D.setCurve(Point2D p1, Point2D c, Point2D p2)
          Changes the curve geometry, specifying coordinate values in separate Point objects.
 void QuadCurve2D.setCurve(Point2D[] pts, int offset)
          Changes the curve geometry, specifying coordinate values in an array of Point objects.
 boolean QuadCurve2D.contains(Point2D p)
          Determines whether a point is inside the area bounded by the curve and the straight line connecting its end points.
 void Line2D.setLine(Point2D p1, Point2D p2)
          Set the coordinates to the given points.
 int Line2D.relativeCCW(Point2D p)
          Computes the relative rotation direction needed to pivot this line about the first point in order to have the second point colinear with point p.
 double Line2D.ptSegDistSq(Point2D p)
          Measures the square of the shortest distance from the reference point to a point on this line segment.
 double Line2D.ptSegDist(Point2D p)
          Measures the shortest distance from the reference point to a point on this line segment.
 double Line2D.ptLineDistSq(Point2D p)
          Measures the square of the shortest distance from the reference point to a point on the infinite line extended from this segment.
 double Line2D.ptLineDist(Point2D p)
          Measures the shortest distance from the reference point to a point on the infinite line extended from this segment.
 boolean Line2D.contains(Point2D p)
          Test if a point is contained inside the line.
 void CubicCurve2D.setCurve(Point2D p1, Point2D c1, Point2D c2, Point2D p2)
          Changes the curve geometry, specifying coordinate values in separate Point objects.
 void CubicCurve2D.setCurve(Point2D[] pts, int offset)
          Changes the curve geometry, specifying coordinate values in an array of Point objects.
 boolean CubicCurve2D.contains(Point2D p)
          Determines whether a point lies inside the area bounded by the curve and the straight line connecting its end points.
 boolean Area.contains(Point2D p)
          Determines if the Point2D p is contained within this Area.
(package private)  boolean Area.pointEquals(Point2D a, Point2D b)
          Determines if two points are equal, within an error margin 'snap distance' This is package-private to avoid an accessor method.
 void Arc2D.setArc(Point2D p, Dimension2D d, double start, double extent, int type)
          Set the parameters of the arc.
 void Arc2D.setArcByTangent(Point2D p1, Point2D p2, Point2D p3, double r)
          Sets the parameters of the arc by finding the tangents of two lines, and using the specified radius.
 void Arc2D.setAngleStart(Point2D p)
          Sets the starting angle to the angle of the given point relative to the center of the arc.
 void Arc2D.setAngles(Point2D p1, Point2D p2)
          Sets the starting and extent angles to those of the given points relative to the center of the arc.
 

Constructors in java.awt.geom with parameters of type Point2D
Line2D.Double(Point2D p1, Point2D p2)
          Construct the line segment with the specified points.
Line2D.Float(Point2D p1, Point2D p2)
          Construct the line segment with the specified points.
Area.Intersection(Point2D p, double ta, double tb)
           
Area.LineSegment(Point2D p1, Point2D p2)