Revision 27148

View differences:

trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/PolygonCADTool.java
236 236
        double an = (Math.PI * 2) / numLines;
237 237
        GeneralPathX elShape = new GeneralPathX();
238 238
        boolean firstTime=true;
239
        for (int i = numLines-1; i >=1 ; i--) {
239
        for (int i = numLines-1; i >= 0 ; i--) {
240 240
            Point2D p2 = UtilFunctions.getPoint(center, (an * i) + initangle,
241 241
                    radio);
242 242
            Point2D[] ps1 = UtilFunctions.getPerpendicular(antPoint, center,

Also available in: Unified diff