Revision 42385 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.jts/src/main/java/org/gvsig/fmap/geom/jts/primitive/surface/ellipse/BaseEllipse2D.java

View differences:

BaseEllipse2D.java
38 38
import org.gvsig.fmap.geom.jts.primitive.point.Point2D;
39 39
import org.gvsig.fmap.geom.jts.primitive.surface.polygon.Polygon2D;
40 40
import org.gvsig.fmap.geom.jts.util.ArrayListCoordinateSequence;
41
import org.gvsig.fmap.geom.jts.util.JTSUtils;
42 41
import org.gvsig.fmap.geom.primitive.Line;
43 42
import org.gvsig.fmap.geom.primitive.Point;
44 43
import org.gvsig.fmap.geom.primitive.Polygon;
45 44

  
46

  
47 45
/**
48 46
 * @author fdiaz
49 47
 *
......
62 60
        super(type, Geometry.SUBTYPES.GEOM2D);
63 61
    }
64 62

  
65

  
66
//    /* (non-Javadoc)
67
//     * @see org.gvsig.fmap.geom.Geometry#cloneGeometry()
68
//     */
69
//    public Geometry cloneGeometry() {
70
//        BaseEllipse2D clone = new BaseEllipse2D();
71
//        clone.setPoints(init, end, ydist);
72
//        return clone;
73
//    }
74

  
75 63
    /*
76 64
     * (non-Javadoc)
77 65
     *
......
88 76
        }
89 77
    }
90 78

  
91

  
92 79
    /**
93 80
     * @return
94 81
     */
......
115 102
                coordinates.add(new Coordinate(coords[4], coords[5]));
116 103
                break;
117 104
            case PathIterator.SEG_CLOSE:
118
                coordinates.add((Coordinate)coordinates.get(0).clone());
105
                coordinates.add((Coordinate) coordinates.get(0).clone());
119 106
                break;
120 107
            }
121 108
            pi.next();
......
123 110
        return coordinates;
124 111
    }
125 112

  
126
    /* (non-Javadoc)
113
    /*
114
     * (non-Javadoc)
115
     *
127 116
     * @see org.gvsig.fmap.geom.primitive.Line#toPoints()
128 117
     */
129 118
    public MultiPoint toPoints() throws GeometryException {
......
136 125
        return multiPoint;
137 126
    }
138 127

  
139
    /* (non-Javadoc)
128
    /*
129
     * (non-Javadoc)
130
     *
140 131
     * @see org.gvsig.fmap.geom.primitive.Line#toLines()
141 132
     */
142 133
    public MultiLine toLines() throws GeometryException {
......
146 137
        return multiLine;
147 138
    }
148 139

  
149
    /* (non-Javadoc)
140
    /*
141
     * (non-Javadoc)
142
     *
150 143
     * @see org.gvsig.fmap.geom.primitive.Line#toPolygons()
151 144
     */
152 145
    public MultiPolygon toPolygons() throws GeometryException {
......
155 148
        multiPolygon.addPrimitive(polygon);
156 149
        return multiPolygon;
157 150
    }
158

  
159

  
160 151
}

Also available in: Unified diff