|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.fmap.core.FGeometry
Geometría.
Field Summary |
Fields inherited from interface es.prodevelop.gvsig.mobile.fmap.core.IGeometry |
BEST, E, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W |
Method Summary | |
IGeometry |
cloneGeometry()
Clona la Geometría. |
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)
|
void |
draw(java.awt.Graphics2D g,
ViewPort vp,
FSymbol symbol,
java.awt.geom.AffineTransform at)
Dibuja la geometria actual en el graphics que se le pasa como parámetro, aplicandole las características del símbolo. |
void |
drawInts(java.awt.Graphics2D g,
ViewPort vp,
FSymbol symbol,
java.awt.geom.AffineTransform at)
You can use this function if you are going to draw into a bitmap. |
java.awt.Rectangle |
getBounds()
|
java.awt.geom.Rectangle2D |
getBounds2D()
Devuelve el Rectángulo que ocupa la geometría. |
int |
getGeometryType()
Obtiene el tipo de la geometría |
Handler[] |
getHandlers(int type)
It returns the handlers of the geomety, these they can be of two types is straightening and of seleccion. |
java.awt.Shape |
getInternalShape()
Useful to have the real shape behind the scenes. |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
Devuelve el GeneralPathXIterator con la información relativa a la geometría. |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
|
double[] |
getZs()
Devuelve un array con todos los valores de Z. |
boolean |
intersects(double x,
double y,
double w,
double h)
|
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 del transformador de coordenadas. |
void |
transform(java.awt.geom.AffineTransform at)
Aplica la transformación a la geometría de la matriz de transformación que se pasa como parámetro. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void draw(java.awt.Graphics2D g, ViewPort vp, FSymbol symbol, java.awt.geom.AffineTransform at)
draw
in interface IGeometry
g
- Graphics2D.vp
- ViewPort.symbol
- Símbolo.public void drawInts(java.awt.Graphics2D g, ViewPort vp, FSymbol symbol, java.awt.geom.AffineTransform at)
IGeometry
drawInts
in interface IGeometry
g
- vp
- symbol
- public void transform(java.awt.geom.AffineTransform at)
transform
in interface IGeometry
at
- Matriz de transformación.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
com.iver.cit.gvsig.fmap.core.IGeometry#getGeometryType()
public IGeometry cloneGeometry()
IGeometry
cloneGeometry
in interface IGeometry
public void reProject(ICoordTrans ct)
IGeometry
reProject
in interface IGeometry
ct
- Coordinate Transformer.public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
IGeometry
getPathIterator
in interface IGeometry
at
- TODO
com.iver.cit.gvsig.fmap.core.IGeometry#getPathIterator(AffineTransform)
public double[] getZs()
getZs
in interface IGeometry3D
public Handler[] getHandlers(int type)
IGeometry
getHandlers
in interface IGeometry
type
- Type of handlers
com.iver.cit.gvsig.fmap.core.IGeometry#getHandlers()
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at, double flatness)
getPathIterator
in interface IGeometry
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 boolean contains(java.awt.geom.Point2D p)
contains
in interface java.awt.Shape
public boolean contains(java.awt.geom.Rectangle2D r)
contains
in interface java.awt.Shape
public java.awt.Shape getInternalShape()
IGeometry
getInternalShape
in interface IGeometry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |