root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / core / FNullGeometry.java @ 2859
History | View | Annotate | Download (4.04 KB)
1 | 1100 | fjp | /* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|---|---|
2 | *
|
||
3 | * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
||
4 | *
|
||
5 | * This program is free software; you can redistribute it and/or
|
||
6 | * modify it under the terms of the GNU General Public License
|
||
7 | * as published by the Free Software Foundation; either version 2
|
||
8 | * of the License, or (at your option) any later version.
|
||
9 | *
|
||
10 | * This program is distributed in the hope that it will be useful,
|
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
13 | * GNU General Public License for more details.
|
||
14 | *
|
||
15 | * You should have received a copy of the GNU General Public License
|
||
16 | * along with this program; if not, write to the Free Software
|
||
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
||
18 | *
|
||
19 | * For more information, contact:
|
||
20 | *
|
||
21 | * Generalitat Valenciana
|
||
22 | * Conselleria d'Infraestructures i Transport
|
||
23 | * Av. Blasco Ib??ez, 50
|
||
24 | * 46010 VALENCIA
|
||
25 | * SPAIN
|
||
26 | *
|
||
27 | * +34 963862235
|
||
28 | * gvsig@gva.es
|
||
29 | * www.gvsig.gva.es
|
||
30 | *
|
||
31 | * or
|
||
32 | *
|
||
33 | * IVER T.I. S.A
|
||
34 | * Salamanca 50
|
||
35 | * 46005 Valencia
|
||
36 | * Spain
|
||
37 | *
|
||
38 | * +34 963163400
|
||
39 | * dac@iver.es
|
||
40 | */
|
||
41 | 262 | fjp | package com.iver.cit.gvsig.fmap.core; |
42 | |||
43 | import com.iver.cit.gvsig.fmap.ViewPort; |
||
44 | 757 | fjp | import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
45 | 458 | fjp | import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
46 | 324 | fernando | import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D; |
47 | 1005 | vcaballero | |
48 | 703 | fjp | import com.vividsolutions.jts.geom.Geometry; |
49 | 262 | fjp | |
50 | 1005 | vcaballero | import org.cresques.cts.ICoordTrans; |
51 | 262 | fjp | |
52 | 1005 | vcaballero | import java.awt.Graphics2D; |
53 | import java.awt.geom.Rectangle2D; |
||
54 | 2183 | fernando | import java.io.IOException; |
55 | 1005 | vcaballero | |
56 | |||
57 | /**
|
||
58 | * DOCUMENT ME!
|
||
59 | *
|
||
60 | * @author Vicente Caballero Navarro
|
||
61 | */
|
||
62 | public class FNullGeometry implements IGeometry { |
||
63 | 262 | fjp | /**
|
64 | 1005 | vcaballero | * @see com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D,
|
65 | * ViewPort, FStyle2D)
|
||
66 | 262 | fjp | */
|
67 | 324 | fernando | public void draw(Graphics2D g, ViewPort vp, FStyle2D symbol) { |
68 | 262 | fjp | } |
69 | |||
70 | /**
|
||
71 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#toJTSGeometry()
|
72 | 262 | fjp | */
|
73 | public Geometry toJTSGeometry() {
|
||
74 | return null; |
||
75 | } |
||
76 | |||
77 | /**
|
||
78 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#createLabels(int, boolean)
|
79 | 262 | fjp | */
|
80 | 757 | fjp | public FLabel[] createLabels(int position, boolean duplicates) { |
81 | 262 | fjp | return null; |
82 | } |
||
83 | |||
84 | 267 | fjp | /* (non-Javadoc)
|
85 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#intersects(java.awt.geom.Rectangle2D)
|
86 | 267 | fjp | */
|
87 | public boolean intersects(Rectangle2D r) { |
||
88 | return false; |
||
89 | } |
||
90 | |||
91 | /* (non-Javadoc)
|
||
92 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#getBounds2D()
|
93 | 267 | fjp | */
|
94 | public Rectangle2D getBounds2D() { |
||
95 | return null; |
||
96 | } |
||
97 | |||
98 | 324 | fernando | /**
|
99 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#getGeometryType()
|
||
100 | */
|
||
101 | public int getGeometryType() { |
||
102 | return FShape.NULL;
|
||
103 | } |
||
104 | |||
105 | 458 | fjp | /* (non-Javadoc)
|
106 | * @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)
|
||
107 | */
|
||
108 | public void draw(Graphics2D g, ViewPort vp, FSymbol symbol) { |
||
109 | } |
||
110 | |||
111 | 703 | fjp | /* (non-Javadoc)
|
112 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#cloneGeometry()
|
||
113 | */
|
||
114 | public IGeometry cloneGeometry() {
|
||
115 | return null; |
||
116 | } |
||
117 | |||
118 | 885 | fjp | /* (non-Javadoc)
|
119 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#reProject(org.cresques.cts.ICoordTrans)
|
||
120 | */
|
||
121 | public void reProject(ICoordTrans ct) { |
||
122 | } |
||
123 | 1132 | vcaballero | |
124 | |||
125 | /**
|
||
126 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#getGeneralPathXIterator()
|
||
127 | */
|
||
128 | public GeneralPathXIterator getGeneralPathXIterator() {
|
||
129 | //TODO falta implementar.
|
||
130 | return null; |
||
131 | } |
||
132 | 1298 | fjp | |
133 | /* (non-Javadoc)
|
||
134 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#fastIntersects(double, double, double, double)
|
||
135 | */
|
||
136 | public boolean fastIntersects(double x, double y, double w, double h) { |
||
137 | return false; |
||
138 | } |
||
139 | 2183 | fernando | |
140 | /**
|
||
141 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#toWKB()
|
||
142 | */
|
||
143 | public byte[] toWKB() throws IOException { |
||
144 | // TODO Auto-generated method stub
|
||
145 | return null; |
||
146 | } |
||
147 | 2859 | fjp | |
148 | /* (non-Javadoc)
|
||
149 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#drawInts(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol)
|
||
150 | */
|
||
151 | public void drawInts(Graphics2D g, ViewPort vp, FSymbol symbol) { |
||
152 | // TODO Auto-generated method stub
|
||
153 | |||
154 | } |
||
155 | 262 | fjp | } |