svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.geometry / org.gvsig.fmap.geometry.impl / src / main / java / org / gvsig / fmap / geom / primitive / impl / Solid2DZ.java @ 40559
History | View | Annotate | Download (6.02 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 3
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.fmap.geom.primitive.impl; |
25 |
|
26 |
import java.awt.Rectangle; |
27 |
import java.awt.geom.AffineTransform; |
28 |
import java.awt.geom.PathIterator; |
29 |
import java.awt.geom.Point2D; |
30 |
import java.awt.geom.Rectangle2D; |
31 |
import java.awt.image.BufferedImage; |
32 |
|
33 |
import org.cresques.cts.ICoordTrans; |
34 |
import org.gvsig.fmap.geom.handler.Handler; |
35 |
import org.gvsig.fmap.geom.primitive.Appearance; |
36 |
import org.gvsig.fmap.geom.primitive.Envelope; |
37 |
import org.gvsig.fmap.geom.primitive.FShape; |
38 |
import org.gvsig.fmap.geom.primitive.GeneralPathX; |
39 |
import org.gvsig.fmap.geom.primitive.Solid; |
40 |
import org.gvsig.fmap.geom.primitive.Surface; |
41 |
import org.gvsig.fmap.geom.type.GeometryType; |
42 |
|
43 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
44 |
*
|
45 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
46 |
*
|
47 |
* This program is free software; you can redistribute it and/or
|
48 |
* modify it under the terms of the GNU General Public License
|
49 |
* as published by the Free Software Foundation; either version 2
|
50 |
* of the License, or (at your option) any later version.
|
51 |
*
|
52 |
* This program is distributed in the hope that it will be useful,
|
53 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
54 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
55 |
* GNU General Public License for more details.
|
56 |
*
|
57 |
* You should have received a copy of the GNU General Public License
|
58 |
* along with this program; if not, write to the Free Software
|
59 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
60 |
*
|
61 |
* For more information, contact:
|
62 |
*
|
63 |
* Generalitat Valenciana
|
64 |
* Conselleria d'Infraestructures i Transport
|
65 |
* Av. Blasco Ib��ez, 50
|
66 |
* 46010 VALENCIA
|
67 |
* SPAIN
|
68 |
*
|
69 |
* +34 963862235
|
70 |
* gvsig@gva.es
|
71 |
* www.gvsig.gva.es
|
72 |
*
|
73 |
* or
|
74 |
*
|
75 |
* IVER T.I. S.A
|
76 |
* Salamanca 50
|
77 |
* 46005 Valencia
|
78 |
* Spain
|
79 |
*
|
80 |
* +34 963163400
|
81 |
* dac@iver.es
|
82 |
*/
|
83 |
/* CVS MESSAGES:
|
84 |
*
|
85 |
* $Id: FSolid.java,v 1.2 2008/03/25 08:47:41 cvs Exp $
|
86 |
* $Log: FSolid.java,v $
|
87 |
* Revision 1.2 2008/03/25 08:47:41 cvs
|
88 |
* Visitors removed
|
89 |
*
|
90 |
* Revision 1.1 2008/03/12 08:46:20 cvs
|
91 |
* *** empty log message ***
|
92 |
*
|
93 |
*
|
94 |
*/
|
95 |
/**
|
96 |
* @author Jorge Piera Llodr� (jorge.piera@iver.es)
|
97 |
*/
|
98 |
public class Solid2DZ extends AbstractPrimitive implements Solid { |
99 |
private static final long serialVersionUID = 5702298296398677297L; |
100 |
|
101 |
/**
|
102 |
* The constructor with the GeometryType like and argument
|
103 |
* is used by the {@link GeometryType}{@link #create()}
|
104 |
* to create the geometry
|
105 |
* @param type
|
106 |
* The geometry type
|
107 |
*/
|
108 |
public Solid2DZ(GeometryType geometryType) {
|
109 |
super(geometryType);
|
110 |
} |
111 |
|
112 |
public FShape cloneFShape() {
|
113 |
// TODO Auto-generated method stub
|
114 |
return null; |
115 |
} |
116 |
|
117 |
public Handler[] getSelectHandlers() { |
118 |
// TODO Auto-generated method stub
|
119 |
return null; |
120 |
} |
121 |
|
122 |
public int getShapeType() { |
123 |
// TODO Auto-generated method stub
|
124 |
return 0; |
125 |
} |
126 |
|
127 |
public Handler[] getStretchingHandlers() { |
128 |
// TODO Auto-generated method stub
|
129 |
return null; |
130 |
} |
131 |
|
132 |
public void reProject(ICoordTrans ct) { |
133 |
// TODO Auto-generated method stub
|
134 |
|
135 |
} |
136 |
|
137 |
public void transform(AffineTransform at) { |
138 |
// TODO Auto-generated method stub
|
139 |
|
140 |
} |
141 |
|
142 |
public boolean contains(Point2D arg0) { |
143 |
// TODO Auto-generated method stub
|
144 |
return false; |
145 |
} |
146 |
|
147 |
public boolean contains(Rectangle2D arg0) { |
148 |
// TODO Auto-generated method stub
|
149 |
return false; |
150 |
} |
151 |
|
152 |
public boolean contains(double arg0, double arg1) { |
153 |
// TODO Auto-generated method stub
|
154 |
return false; |
155 |
} |
156 |
|
157 |
public boolean contains(double arg0, double arg1, double arg2, double arg3) { |
158 |
// TODO Auto-generated method stub
|
159 |
return false; |
160 |
} |
161 |
|
162 |
public Rectangle getBounds() { |
163 |
// TODO Auto-generated method stub
|
164 |
return null; |
165 |
} |
166 |
|
167 |
public Rectangle2D getBounds2D() { |
168 |
// TODO Auto-generated method stub
|
169 |
return null; |
170 |
} |
171 |
|
172 |
public PathIterator getPathIterator(AffineTransform arg0) { |
173 |
// TODO Auto-generated method stub
|
174 |
return null; |
175 |
} |
176 |
|
177 |
public PathIterator getPathIterator(AffineTransform arg0, double arg1) { |
178 |
// TODO Auto-generated method stub
|
179 |
return null; |
180 |
} |
181 |
|
182 |
public boolean intersects(Rectangle2D arg0) { |
183 |
// TODO Auto-generated method stub
|
184 |
return false; |
185 |
} |
186 |
|
187 |
public boolean intersects(double arg0, double arg1, double arg2, double arg3) { |
188 |
// TODO Auto-generated method stub
|
189 |
return false; |
190 |
} |
191 |
|
192 |
/*
|
193 |
* (non-Javadoc)
|
194 |
*
|
195 |
* @see org.gvsig.geometries.iso.GM_Object#coordinateDimension()
|
196 |
*/
|
197 |
public int getDimension() { |
198 |
return 3; |
199 |
} |
200 |
|
201 |
public Envelope getEnvelope() {
|
202 |
// TODO Auto-generated method stub
|
203 |
return null; |
204 |
} |
205 |
|
206 |
public GeneralPathX getGeneralPath() {
|
207 |
// TODO Auto-generated method stub
|
208 |
return null; |
209 |
} |
210 |
|
211 |
public double[] getZs() { |
212 |
// TODO Auto-generated method stub
|
213 |
return null; |
214 |
} |
215 |
|
216 |
public void addSurface(Surface surface) { |
217 |
// TODO Auto-generated method stub
|
218 |
|
219 |
} |
220 |
|
221 |
public Appearance getAppearance() {
|
222 |
// TODO Auto-generated method stub
|
223 |
return null; |
224 |
} |
225 |
|
226 |
public int getNumSurfaces() { |
227 |
// TODO Auto-generated method stub
|
228 |
return 0; |
229 |
} |
230 |
|
231 |
public Surface getSurfaceAt(int position) { |
232 |
// TODO Auto-generated method stub
|
233 |
return null; |
234 |
} |
235 |
|
236 |
public void removeSurface(int position) { |
237 |
// TODO Auto-generated method stub
|
238 |
|
239 |
} |
240 |
|
241 |
public void setAppearance(Appearance app) { |
242 |
// TODO Auto-generated method stub
|
243 |
|
244 |
} |
245 |
|
246 |
|
247 |
|
248 |
} |