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