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 @ 40596
History | View | Annotate | Download (4.58 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 |
/**
|
44 |
* @author Jorge Piera Llodr� (jorge.piera@iver.es)
|
45 |
*/
|
46 |
public class Solid2DZ extends AbstractPrimitive implements Solid { |
47 |
private static final long serialVersionUID = 5702298296398677297L; |
48 |
|
49 |
/**
|
50 |
* The constructor with the GeometryType like and argument
|
51 |
* is used by the {@link GeometryType}{@link #create()}
|
52 |
* to create the geometry
|
53 |
* @param type
|
54 |
* The geometry type
|
55 |
*/
|
56 |
public Solid2DZ(GeometryType geometryType) {
|
57 |
super(geometryType);
|
58 |
} |
59 |
|
60 |
public FShape cloneFShape() {
|
61 |
// TODO Auto-generated method stub
|
62 |
return null; |
63 |
} |
64 |
|
65 |
public Handler[] getSelectHandlers() { |
66 |
// TODO Auto-generated method stub
|
67 |
return null; |
68 |
} |
69 |
|
70 |
public int getShapeType() { |
71 |
// TODO Auto-generated method stub
|
72 |
return 0; |
73 |
} |
74 |
|
75 |
public Handler[] getStretchingHandlers() { |
76 |
// TODO Auto-generated method stub
|
77 |
return null; |
78 |
} |
79 |
|
80 |
public void reProject(ICoordTrans ct) { |
81 |
// TODO Auto-generated method stub
|
82 |
|
83 |
} |
84 |
|
85 |
public void transform(AffineTransform at) { |
86 |
// TODO Auto-generated method stub
|
87 |
|
88 |
} |
89 |
|
90 |
public boolean contains(Point2D arg0) { |
91 |
// TODO Auto-generated method stub
|
92 |
return false; |
93 |
} |
94 |
|
95 |
public boolean contains(Rectangle2D arg0) { |
96 |
// TODO Auto-generated method stub
|
97 |
return false; |
98 |
} |
99 |
|
100 |
public boolean contains(double arg0, double arg1) { |
101 |
// TODO Auto-generated method stub
|
102 |
return false; |
103 |
} |
104 |
|
105 |
public boolean contains(double arg0, double arg1, double arg2, double arg3) { |
106 |
// TODO Auto-generated method stub
|
107 |
return false; |
108 |
} |
109 |
|
110 |
public Rectangle getBounds() { |
111 |
// TODO Auto-generated method stub
|
112 |
return null; |
113 |
} |
114 |
|
115 |
public Rectangle2D getBounds2D() { |
116 |
// TODO Auto-generated method stub
|
117 |
return null; |
118 |
} |
119 |
|
120 |
public PathIterator getPathIterator(AffineTransform arg0) { |
121 |
// TODO Auto-generated method stub
|
122 |
return null; |
123 |
} |
124 |
|
125 |
public PathIterator getPathIterator(AffineTransform arg0, double arg1) { |
126 |
// TODO Auto-generated method stub
|
127 |
return null; |
128 |
} |
129 |
|
130 |
public boolean intersects(Rectangle2D arg0) { |
131 |
// TODO Auto-generated method stub
|
132 |
return false; |
133 |
} |
134 |
|
135 |
public boolean intersects(double arg0, double arg1, double arg2, double arg3) { |
136 |
// TODO Auto-generated method stub
|
137 |
return false; |
138 |
} |
139 |
|
140 |
/*
|
141 |
* (non-Javadoc)
|
142 |
*
|
143 |
* @see org.gvsig.geometries.iso.GM_Object#coordinateDimension()
|
144 |
*/
|
145 |
public int getDimension() { |
146 |
return 3; |
147 |
} |
148 |
|
149 |
public Envelope getEnvelope() {
|
150 |
// TODO Auto-generated method stub
|
151 |
return null; |
152 |
} |
153 |
|
154 |
public GeneralPathX getGeneralPath() {
|
155 |
// TODO Auto-generated method stub
|
156 |
return null; |
157 |
} |
158 |
|
159 |
public double[] getZs() { |
160 |
// TODO Auto-generated method stub
|
161 |
return null; |
162 |
} |
163 |
|
164 |
public void addSurface(Surface surface) { |
165 |
// TODO Auto-generated method stub
|
166 |
|
167 |
} |
168 |
|
169 |
public Appearance getAppearance() {
|
170 |
// TODO Auto-generated method stub
|
171 |
return null; |
172 |
} |
173 |
|
174 |
public int getNumSurfaces() { |
175 |
// TODO Auto-generated method stub
|
176 |
return 0; |
177 |
} |
178 |
|
179 |
public Surface getSurfaceAt(int position) { |
180 |
// TODO Auto-generated method stub
|
181 |
return null; |
182 |
} |
183 |
|
184 |
public void removeSurface(int position) { |
185 |
// TODO Auto-generated method stub
|
186 |
|
187 |
} |
188 |
|
189 |
public void setAppearance(Appearance app) { |
190 |
// TODO Auto-generated method stub
|
191 |
|
192 |
} |
193 |
|
194 |
|
195 |
|
196 |
} |