Revision 10240 trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/objects/DwgPolyline2D.java
DwgPolyline2D.java | ||
---|---|---|
37 | 37 |
import java.awt.geom.Point2D; |
38 | 38 |
import java.util.ArrayList; |
39 | 39 |
import java.util.List; |
40 |
import java.util.Map; |
|
40 | 41 |
|
41 | 42 |
import com.iver.cit.gvsig.fmap.core.FPolyline2D; |
42 | 43 |
import com.iver.cit.gvsig.fmap.core.FShape; |
... | ... | |
457 | 458 |
public String toString(){ |
458 | 459 |
return "Polyline2D"; |
459 | 460 |
} |
460 |
public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, DwgFile callBack) { |
|
461 |
public void transform2Block(double[] bPoint, Point2D insPoint, |
|
462 |
double[] scale, double rot, |
|
463 |
List dwgObjectsWithoutBlocks, |
|
464 |
Map handleObjWithoutBlocks, DwgFile callBack) { |
|
461 | 465 |
DwgPolyline2D transformedEntity = null; |
462 | 466 |
Point2D[] vertices = this.getPts(); |
463 | 467 |
if (vertices != null) { |
... | ... | |
472 | 476 |
transformedEntity.setPts(transformedVertices); |
473 | 477 |
transformedEntity.setElevation((this.getElevation() * scale[2])); |
474 | 478 |
dwgObjectsWithoutBlocks.add(transformedEntity); |
479 |
handleObjWithoutBlocks.put(new Integer(transformedEntity.getHandle().getOffset()), transformedEntity); |
|
475 | 480 |
} |
476 | 481 |
} |
477 | 482 |
/* (non-Javadoc) |
Also available in: Unified diff