Revision 10240 trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/objects/DwgEllipse.java
DwgEllipse.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; |
... | ... | |
192 | 193 |
public String toString(){ |
193 | 194 |
return "Ellipse"; |
194 | 195 |
} |
195 |
public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, DwgFile callBack) { |
|
196 |
public void transform2Block(double[] bPoint, Point2D insPoint, |
|
197 |
double[] scale, double rot, |
|
198 |
List dwgObjectsWithoutBlocks, |
|
199 |
Map handleObjWithoutBlocks, |
|
200 |
DwgFile callBack) { |
|
196 | 201 |
DwgEllipse transformedEntity = null; |
197 | 202 |
double[] center = this.getCenter(); |
198 | 203 |
Point2D pointAux = new Point2D.Double(center[0] - bPoint[0], center[1] - bPoint[1]); |
... | ... | |
227 | 232 |
transformedEntity.setInitAngle(transformedInitAngle); |
228 | 233 |
transformedEntity.setEndAngle(transformedEndAngle); |
229 | 234 |
dwgObjectsWithoutBlocks.add(transformedEntity); |
235 |
handleObjWithoutBlocks.put(new Integer(transformedEntity.getHandle().getOffset()), transformedEntity); |
|
230 | 236 |
// dwgObjectsWithoutBlocks.add(this); |
231 | 237 |
} |
232 | 238 |
/* (non-Javadoc) |
Also available in: Unified diff