Revision 10240 trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/objects/DwgLine.java
DwgLine.java | ||
---|---|---|
36 | 36 |
|
37 | 37 |
import java.awt.geom.Point2D; |
38 | 38 |
import java.util.List; |
39 |
import java.util.Map; |
|
39 | 40 |
|
40 | 41 |
import com.iver.cit.gvsig.fmap.core.FPolyline2D; |
41 | 42 |
import com.iver.cit.gvsig.fmap.core.FShape; |
... | ... | |
235 | 236 |
public String toString(){ |
236 | 237 |
return "Line"; |
237 | 238 |
} |
238 |
public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, DwgFile callBack) { |
|
239 |
public void transform2Block(double[] bPoint, Point2D insPoint, |
|
240 |
double[] scale, double rot, |
|
241 |
List dwgObjectsWithoutBlocks, |
|
242 |
Map handleObjWithoutBlocks, |
|
243 |
DwgFile callBack) { |
|
239 | 244 |
DwgLine transformedEntity = null; |
240 | 245 |
double[] p1 = this.getP1(); |
241 | 246 |
double[] p2 = this.getP2(); |
... | ... | |
265 | 270 |
transformedEntity.setP1(transformedP1); |
266 | 271 |
transformedEntity.setP2(transformedP2); |
267 | 272 |
dwgObjectsWithoutBlocks.add(transformedEntity); |
273 |
handleObjWithoutBlocks.put(new Integer(transformedEntity.getHandle().getOffset()), transformedEntity); |
|
268 | 274 |
// dwgObjectsWithoutBlocks.add(this); |
269 | 275 |
} |
270 | 276 |
public Object clone(){ |
Also available in: Unified diff