Revision 6160 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/ComplexSelectionCADTool.java
ComplexSelectionCADTool.java | ||
---|---|---|
322 | 322 |
}else if (status.equals("Selection.NextPointPolygon")){ |
323 | 323 |
if (s.equals(PluginServices.getText(this,"end_polygon")) || s.equals("E") || s.equals("e")) { |
324 | 324 |
IGeometry polygon=getGeometryPolygon(null); |
325 |
GeneralPathX gpx=new GeneralPathX(); |
|
326 |
gpx.append(polygon,true); |
|
327 |
if (gpx.isCCW()) { |
|
328 |
gpx.flip(); |
|
329 |
polygon=ShapeFactory.createPolygon2D(gpx); |
|
330 |
} |
|
325 | 331 |
selectWithPolygon(polygon); |
326 | 332 |
pointsPolygon.clear(); |
327 | 333 |
setType(PluginServices.getText(this,"inside_circle")); |
Also available in: Unified diff