svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / core / FNullGeometry.java @ 885
History | View | Annotate | Download (1.89 KB)
1 |
/* Generated by Together */
|
---|---|
2 |
|
3 |
package com.iver.cit.gvsig.fmap.core; |
4 |
|
5 |
import java.awt.Graphics2D; |
6 |
import java.awt.geom.Rectangle2D; |
7 |
|
8 |
import org.cresques.cts.ICoordTrans; |
9 |
|
10 |
import com.iver.cit.gvsig.fmap.ViewPort; |
11 |
import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
12 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
13 |
import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D; |
14 |
import com.vividsolutions.jts.geom.Geometry; |
15 |
|
16 |
public class FNullGeometry implements IGeometry { |
17 |
|
18 |
/**
|
19 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D, ViewPort, FStyle2D)
|
20 |
*/
|
21 |
public void draw(Graphics2D g, ViewPort vp, FStyle2D symbol) { |
22 |
} |
23 |
|
24 |
|
25 |
/**
|
26 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#toJTSGeometry()
|
27 |
*/
|
28 |
public Geometry toJTSGeometry() {
|
29 |
return null; |
30 |
} |
31 |
|
32 |
/**
|
33 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#createLabels(int, boolean)
|
34 |
*/
|
35 |
public FLabel[] createLabels(int position, boolean duplicates) { |
36 |
return null; |
37 |
} |
38 |
|
39 |
|
40 |
/* (non-Javadoc)
|
41 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#intersects(java.awt.geom.Rectangle2D)
|
42 |
*/
|
43 |
public boolean intersects(Rectangle2D r) { |
44 |
return false; |
45 |
} |
46 |
|
47 |
|
48 |
/* (non-Javadoc)
|
49 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#getBounds2D()
|
50 |
*/
|
51 |
public Rectangle2D getBounds2D() { |
52 |
return null; |
53 |
} |
54 |
|
55 |
|
56 |
/**
|
57 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#getGeometryType()
|
58 |
*/
|
59 |
public int getGeometryType() { |
60 |
return FShape.NULL;
|
61 |
} |
62 |
|
63 |
|
64 |
/* (non-Javadoc)
|
65 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol)
|
66 |
*/
|
67 |
public void draw(Graphics2D g, ViewPort vp, FSymbol symbol) { |
68 |
|
69 |
} |
70 |
|
71 |
|
72 |
/* (non-Javadoc)
|
73 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#cloneGeometry()
|
74 |
*/
|
75 |
public IGeometry cloneGeometry() {
|
76 |
return null; |
77 |
} |
78 |
|
79 |
|
80 |
/* (non-Javadoc)
|
81 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#reProject(org.cresques.cts.ICoordTrans)
|
82 |
*/
|
83 |
public void reProject(ICoordTrans ct) { |
84 |
|
85 |
} |
86 |
|
87 |
} |