Revision 15624
branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/writers/dxf/DxfWriter.java | ||
---|---|---|
755 | 755 |
// handleGroup.setData(new Integer(handle + k).toString()); |
756 | 756 |
// polv.add(handleGroup); |
757 | 757 |
Vector vpoints = new Vector(); |
758 |
PathIterator theIterator = geom.getPathIterator(null); // polyLine.getPathIterator(null, |
|
758 |
PathIterator theIterator = geom.getPathIterator(null, FConverter.FLATNESS); // polyLine.getPathIterator(null,
|
|
759 | 759 |
// flatness); |
760 | 760 |
double[] theData = new double[6]; |
761 | 761 |
double[] velev = ((FGeometry) geom).getZs(); |
... | ... | |
975 | 975 |
// handleThickness.setCode(39); |
976 | 976 |
// handleThickness.setData(thickness); |
977 | 977 |
|
978 |
PathIterator theIterator = geom.getPathIterator(null); // polyLine.getPathIterator(null, |
|
978 |
PathIterator theIterator = geom.getPathIterator(null, FConverter.FLATNESS); // polyLine.getPathIterator(null,
|
|
979 | 979 |
// flatness); |
980 | 980 |
|
981 | 981 |
double[] theData = new double[6]; |
... | ... | |
1006 | 1006 |
vpoints.add(new FPoint2D(theData[0], theData[1])); |
1007 | 1007 |
break; |
1008 | 1008 |
case PathIterator.SEG_QUADTO: |
1009 |
// vpoints.add(new FPoint2D(theData[0], theData[1])); |
|
1010 |
// vpoints.add(new FPoint2D(theData[2], theData[3])); |
|
1009 | 1011 |
break; |
1010 | 1012 |
case PathIterator.SEG_CUBICTO: |
1013 |
// vpoints.add(new FPoint2D(theData[0], theData[1])); |
|
1014 |
// vpoints.add(new FPoint2D(theData[2], theData[3])); |
|
1015 |
// vpoints.add(new FPoint2D(theData[4], theData[5])); |
|
1011 | 1016 |
break; |
1012 | 1017 |
case PathIterator.SEG_CLOSE: |
1013 | 1018 |
polylineFlag.setData(new Integer(1)); // cerrada |
Also available in: Unified diff