|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interfaz de Geometría.
Field Summary | |
static int |
BEST
|
static int |
E
|
static int |
N
|
static int |
NE
|
static int |
NW
|
static int |
S
|
static int |
SE
|
static FStyledShapePainter |
shpPainter
|
static int |
SW
|
static int |
W
|
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 |
Field Detail |
public static final int BEST
public static final int N
public static final int NE
public static final int E
public static final int SE
public static final int S
public static final int SW
public static final int W
public static final int NW
public static final FStyledShapePainter shpPainter
Method Detail |
public void draw(java.awt.Graphics2D g, ViewPort vp, FStyle2D symbol)
g
- DOCUMENT ME!vp
- TODOsymbol
- DOCUMENT ME!public void draw(java.awt.Graphics2D g, ViewPort vp, FSymbol symbol)
g
- Graphics2D.vp
- ViewPort.symbol
- Símbolo.public Geometry toJTSGeometry()
public FLabel[] createLabels(int position, boolean duplicates)
position
- DOCUMENT ME!duplicates
- DOCUMENT ME!
public int getGeometryType()
public IGeometry cloneGeometry()
public boolean intersects(java.awt.geom.Rectangle2D r)
r
- Rectángulo.
public boolean fastIntersects(double x, double y, double w, double h)
x
- y
- w
- h
-
public java.awt.geom.Rectangle2D getBounds2D()
public void reProject(ICoordTrans ct)
ct
- Coordenadas de transformación.public GeneralPathXIterator getGeneralPathXIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |