|
||||||||||
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.FNullGeometry
DOCUMENT ME!
Field Summary |
Fields inherited from interface com.iver.cit.gvsig.fmap.core.IGeometry |
BEST, E, N, NE, NW, S, SE, shpPainter, SW, W |
Constructor Summary | |
FNullGeometry()
|
Method Summary | |
IGeometry |
cloneGeometry()
Clona la Geometría. |
FLabel[] |
createLabels(int position,
boolean duplicates)
Obtiene las posiciones donde se debe situar la etiqueta para esta IGeometry. |
void |
draw(java.awt.Graphics2D g,
ViewPort vp,
FStyle2D symbol)
Dibujará esta Shape en el Graphics con el símbolo que se pasa como parámetro y despues de aplicarle la transformación que se pasa también como parámetro. |
void |
draw(java.awt.Graphics2D g,
ViewPort vp,
FSymbol symbol)
Dibuja la geometría sobre el Graphics2D que se pasa como parámetro. |
boolean |
fastIntersects(double x,
double y,
double w,
double h)
Se usa en las strategies de dibujo para comprobar de manera rápida si intersecta con el rectángulo visible |
java.awt.geom.Rectangle2D |
getBounds2D()
Devuelve el Rectángulo que ocupa la geometría. |
GeneralPathXIterator |
getGeneralPathXIterator()
Devuelve el GeneralPathXIterator con la información relativa a la geometría. |
int |
getGeometryType()
Obtiene el tipo de la geometría |
boolean |
intersects(java.awt.geom.Rectangle2D r)
Devuelve true si la geometría intersecta con el rectángulo que se pasa como parámetro. |
void |
reProject(ICoordTrans ct)
Reproyecta la geometría a partir de las coordenadas de transformación. |
Geometry |
toJTSGeometry()
Transforma esta Shape en un Geometry de JTS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FNullGeometry()
Method Detail |
public void draw(java.awt.Graphics2D g, ViewPort vp, FStyle2D symbol)
IGeometry
draw
in interface IGeometry
g
- DOCUMENT ME!vp
- TODOsymbol
- DOCUMENT ME!IGeometry.draw(java.awt.Graphics2D,
ViewPort, FStyle2D)
public Geometry toJTSGeometry()
IGeometry
toJTSGeometry
in interface IGeometry
IGeometry.toJTSGeometry()
public FLabel[] createLabels(int position, boolean duplicates)
IGeometry
createLabels
in interface IGeometry
position
- DOCUMENT ME!duplicates
- DOCUMENT ME!
IGeometry.createLabels(int, boolean)
public boolean intersects(java.awt.geom.Rectangle2D r)
IGeometry
intersects
in interface IGeometry
r
- Rectángulo.
public java.awt.geom.Rectangle2D getBounds2D()
IGeometry
getBounds2D
in interface IGeometry
public int getGeometryType()
IGeometry
getGeometryType
in interface IGeometry
IGeometry.getGeometryType()
public void draw(java.awt.Graphics2D g, ViewPort vp, FSymbol symbol)
IGeometry
draw
in interface IGeometry
g
- Graphics2D.vp
- ViewPort.symbol
- Símbolo.public IGeometry cloneGeometry()
IGeometry
cloneGeometry
in interface IGeometry
public void reProject(ICoordTrans ct)
IGeometry
reProject
in interface IGeometry
ct
- Coordenadas de transformación.public GeneralPathXIterator getGeneralPathXIterator()
IGeometry
getGeneralPathXIterator
in interface IGeometry
IGeometry.getGeneralPathXIterator()
public boolean fastIntersects(double x, double y, double w, double h)
IGeometry
fastIntersects
in interface IGeometry
x
- y
- w
- h
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |