root / branches / v2_0_0_prep / libraries / libFMap_geometries / src / org / gvsig / fmap / geom / primitive / Solid2DZ.java @ 21308
History | View | Annotate | Download (4.29 KB)
1 |
package org.gvsig.fmap.geom.primitive; |
---|---|
2 |
|
3 |
import java.awt.Rectangle; |
4 |
import java.awt.geom.AffineTransform; |
5 |
import java.awt.geom.PathIterator; |
6 |
import java.awt.geom.Point2D; |
7 |
import java.awt.geom.Rectangle2D; |
8 |
|
9 |
import org.cresques.cts.ICoordTrans; |
10 |
import org.cresques.cts.IProjection; |
11 |
import org.gvsig.fmap.geom.GeometryManager; |
12 |
import org.gvsig.fmap.geom.handler.Handler; |
13 |
import org.gvsig.fmap.geom.type.GeometryType; |
14 |
|
15 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
16 |
*
|
17 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
18 |
*
|
19 |
* This program is free software; you can redistribute it and/or
|
20 |
* modify it under the terms of the GNU General Public License
|
21 |
* as published by the Free Software Foundation; either version 2
|
22 |
* of the License, or (at your option) any later version.
|
23 |
*
|
24 |
* This program is distributed in the hope that it will be useful,
|
25 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
26 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
27 |
* GNU General Public License for more details.
|
28 |
*
|
29 |
* You should have received a copy of the GNU General Public License
|
30 |
* along with this program; if not, write to the Free Software
|
31 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
32 |
*
|
33 |
* For more information, contact:
|
34 |
*
|
35 |
* Generalitat Valenciana
|
36 |
* Conselleria d'Infraestructures i Transport
|
37 |
* Av. Blasco Ib??ez, 50
|
38 |
* 46010 VALENCIA
|
39 |
* SPAIN
|
40 |
*
|
41 |
* +34 963862235
|
42 |
* gvsig@gva.es
|
43 |
* www.gvsig.gva.es
|
44 |
*
|
45 |
* or
|
46 |
*
|
47 |
* IVER T.I. S.A
|
48 |
* Salamanca 50
|
49 |
* 46005 Valencia
|
50 |
* Spain
|
51 |
*
|
52 |
* +34 963163400
|
53 |
* dac@iver.es
|
54 |
*/
|
55 |
/* CVS MESSAGES:
|
56 |
*
|
57 |
* $Id: FSolid.java,v 1.2 2008/03/25 08:47:41 cvs Exp $
|
58 |
* $Log: FSolid.java,v $
|
59 |
* Revision 1.2 2008/03/25 08:47:41 cvs
|
60 |
* Visitors removed
|
61 |
*
|
62 |
* Revision 1.1 2008/03/12 08:46:20 cvs
|
63 |
* *** empty log message ***
|
64 |
*
|
65 |
*
|
66 |
*/
|
67 |
/**
|
68 |
* @author Jorge Piera Llodr? (jorge.piera@iver.es)
|
69 |
*/
|
70 |
public class Solid2DZ extends AbstractPrimitive implements Solid { |
71 |
|
72 |
private static final long serialVersionUID = 1L; |
73 |
|
74 |
private static GeometryType geomType = GeometryManager.getInstance() |
75 |
.registerGeometryType(Solid2DZ.class); |
76 |
|
77 |
public static int CODE = geomType.getType(); |
78 |
|
79 |
public Solid2DZ(IProjection projection) {
|
80 |
super(projection);
|
81 |
} |
82 |
|
83 |
public Solid2DZ(String id, IProjection projection) { |
84 |
super(id, projection);
|
85 |
} |
86 |
|
87 |
public FShape cloneFShape() {
|
88 |
// TODO Auto-generated method stub
|
89 |
return null; |
90 |
} |
91 |
|
92 |
public Handler[] getSelectHandlers() { |
93 |
// TODO Auto-generated method stub
|
94 |
return null; |
95 |
} |
96 |
|
97 |
public int getShapeType() { |
98 |
// TODO Auto-generated method stub
|
99 |
return 0; |
100 |
} |
101 |
|
102 |
public Handler[] getStretchingHandlers() { |
103 |
// TODO Auto-generated method stub
|
104 |
return null; |
105 |
} |
106 |
|
107 |
public void reProject(ICoordTrans ct) { |
108 |
// TODO Auto-generated method stub
|
109 |
|
110 |
} |
111 |
|
112 |
public void transform(AffineTransform at) { |
113 |
// TODO Auto-generated method stub
|
114 |
|
115 |
} |
116 |
|
117 |
public boolean contains(Point2D arg0) { |
118 |
// TODO Auto-generated method stub
|
119 |
return false; |
120 |
} |
121 |
|
122 |
public boolean contains(Rectangle2D arg0) { |
123 |
// TODO Auto-generated method stub
|
124 |
return false; |
125 |
} |
126 |
|
127 |
public boolean contains(double arg0, double arg1) { |
128 |
// TODO Auto-generated method stub
|
129 |
return false; |
130 |
} |
131 |
|
132 |
public boolean contains(double arg0, double arg1, double arg2, double arg3) { |
133 |
// TODO Auto-generated method stub
|
134 |
return false; |
135 |
} |
136 |
|
137 |
public Rectangle getBounds() { |
138 |
// TODO Auto-generated method stub
|
139 |
return null; |
140 |
} |
141 |
|
142 |
public Rectangle2D getBounds2D() { |
143 |
// TODO Auto-generated method stub
|
144 |
return null; |
145 |
} |
146 |
|
147 |
public PathIterator getPathIterator(AffineTransform arg0) { |
148 |
// TODO Auto-generated method stub
|
149 |
return null; |
150 |
} |
151 |
|
152 |
public PathIterator getPathIterator(AffineTransform arg0, double arg1) { |
153 |
// TODO Auto-generated method stub
|
154 |
return null; |
155 |
} |
156 |
|
157 |
public boolean intersects(Rectangle2D arg0) { |
158 |
// TODO Auto-generated method stub
|
159 |
return false; |
160 |
} |
161 |
|
162 |
public boolean intersects(double arg0, double arg1, double arg2, double arg3) { |
163 |
// TODO Auto-generated method stub
|
164 |
return false; |
165 |
} |
166 |
|
167 |
/*
|
168 |
* (non-Javadoc)
|
169 |
*
|
170 |
* @see org.gvsig.geometries.iso.GM_Object#coordinateDimension()
|
171 |
*/
|
172 |
public int getCoordinateDimension() { |
173 |
return 3; |
174 |
} |
175 |
|
176 |
/*
|
177 |
* (non-Javadoc)
|
178 |
* @see org.gvsig.fmap.geom.primitive.AbstractPrimitive#getGeometryType()
|
179 |
*/
|
180 |
public GeometryType getGeometryType() {
|
181 |
return geomType;
|
182 |
} |
183 |
|
184 |
public int getType() { |
185 |
return CODE;
|
186 |
} |
187 |
|
188 |
} |