Revision 1541 branches/pilotoDWG/applications/appgvSIG/src/com/iver/cit/gvsig/gui/cad/tools/SelectionCadTool.java
SelectionCadTool.java | ||
---|---|---|
212 | 212 |
Rectangle2D rect = new Rectangle2D.Double(x, y, w, h); |
213 | 213 |
|
214 | 214 |
int[] indexes = editingSource.getGeometriesIndexes(new Rectangle2D.Double( |
215 |
x, y, x + w, y + h));
|
|
215 |
x, y, w, h));
|
|
216 | 216 |
|
217 | 217 |
for (int i = 0; i < indexes.length; i++) { |
218 | 218 |
if (rect.contains(editingSource.getGeometry(indexes[i]) |
Also available in: Unified diff