Revision 2137 branches/FMap_SLD/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FMultiPoint2D.java

View differences:

FMultiPoint2D.java
193 193
	 * @see com.iver.cit.gvsig.fmap.core.IGeometry#getGeneralPathXIterator()
194 194
	 */
195 195
	public GeneralPathXIterator getGeneralPathXIterator() {
196
		//TODO no est? implementado.
197
		return null;
196
		GeneralPathX gpx=new GeneralPathX();
197
		if (getNumPoints()>0){
198
			gpx.moveTo(x[0],y[0]);
199
		}
200
		for (int i=1;i<getNumPoints();i++){
201
			gpx.lineTo(x[i],y[i]);
202
		}
203
		return (GeneralPathXIterator)gpx.getPathIterator(null);
198 204
	}
199 205
    /* (non-Javadoc)
200 206
     * @see com.iver.cit.gvsig.fmap.core.IGeometry#fastIntersects(double, double, double, double)

Also available in: Unified diff