com.itextpdf.awt.geom
Class Point2D

java.lang.Object
  extended by com.itextpdf.awt.geom.Point2D
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Point, Point2D.Double, Point2D.Float

public abstract class Point2D
extends Object
implements Cloneable


Nested Class Summary
static class Point2D.Double
           
static class Point2D.Float
           
 
Constructor Summary
protected Point2D()
           
 
Method Summary
 Object clone()
           
 double distance(double px, double py)
           
static double distance(double x1, double y1, double x2, double y2)
           
 double distance(Point2D p)
           
 double distanceSq(double px, double py)
           
static double distanceSq(double x1, double y1, double x2, double y2)
           
 double distanceSq(Point2D p)
           
 boolean equals(Object obj)
           
abstract  double getX()
           
abstract  double getY()
           
 int hashCode()
           
abstract  void setLocation(double x, double y)
           
 void setLocation(Point2D p)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point2D

protected Point2D()
Method Detail

getX

public abstract double getX()

getY

public abstract double getY()

setLocation

public abstract void setLocation(double x,
                                 double y)

setLocation

public void setLocation(Point2D p)

distanceSq

public static double distanceSq(double x1,
                                double y1,
                                double x2,
                                double y2)

distanceSq

public double distanceSq(double px,
                         double py)

distanceSq

public double distanceSq(Point2D p)

distance

public static double distance(double x1,
                              double y1,
                              double x2,
                              double y2)

distance

public double distance(double px,
                       double py)

distance

public double distance(Point2D p)

clone

public Object clone()
Overrides:
clone in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2014. All Rights Reserved.