|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.core.FPoint2D
Punto 2D.
Field Summary | |
protected java.awt.geom.Point2D |
p
|
Fields inherited from interface com.iver.cit.gvsig.fmap.core.FShape |
LINE, MULTI, NULL, POINT, POLYGON, TEXT |
Constructor Summary | |
FPoint2D(double x,
double y)
Crea un nuevo Point2D. |
Method Summary | |
FShape |
cloneFShape()
Clona FShape. |
boolean |
contains(double x,
double y)
|
boolean |
contains(double x,
double y,
double w,
double h)
|
boolean |
contains(java.awt.geom.Point2D p)
|
boolean |
contains(java.awt.geom.Rectangle2D r)
|
java.awt.Rectangle |
getBounds()
|
java.awt.geom.Rectangle2D |
getBounds2D()
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
|
int |
getShapeType()
Obtiene el tipo de shape que contiene. |
double |
getX()
Devuelve la coordenada x del punto. |
double |
getY()
Devuelve la coordenada y del punto. |
boolean |
intersects(double x,
double y,
double w,
double h)
|
boolean |
intersects(java.awt.geom.Rectangle2D r)
|
void |
reProject(ICoordTrans ct)
Reprojecta el FShape. |
void |
transform(java.awt.geom.AffineTransform at)
Aplica la transformación de la matriz de transformación que se pasa como parámetro. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.awt.geom.Point2D p
Constructor Detail |
public FPoint2D(double x, double y)
x
- Coordenada x del punto.y
- Coordenada y del punto.Method Detail |
public void transform(java.awt.geom.AffineTransform at)
at
- Matriz de transformación.public boolean contains(double x, double y)
contains
in interface java.awt.Shape
public boolean contains(double x, double y, double w, double h)
contains
in interface java.awt.Shape
public boolean intersects(double x, double y, double w, double h)
intersects
in interface java.awt.Shape
public java.awt.Rectangle getBounds()
getBounds
in interface java.awt.Shape
public double getX()
public double getY()
public boolean contains(java.awt.geom.Point2D p)
contains
in interface java.awt.Shape
public java.awt.geom.Rectangle2D getBounds2D()
getBounds2D
in interface java.awt.Shape
public boolean contains(java.awt.geom.Rectangle2D r)
contains
in interface java.awt.Shape
public boolean intersects(java.awt.geom.Rectangle2D r)
intersects
in interface java.awt.Shape
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
getPathIterator
in interface java.awt.Shape
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at, double flatness)
getPathIterator
in interface java.awt.Shape
public int getShapeType()
FShape
getShapeType
in interface FShape
FShape.getShapeType()
public FShape cloneFShape()
FShape
cloneFShape
in interface FShape
public void reProject(ICoordTrans ct)
FShape
reProject
in interface FShape
ct
- Coordenadas de transformación.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |