Revision 1687
branches/v02_desarrollo/libraries/libCq CMS for java.old/src/org/cresques/px/dxf/DxfEntityMaker.java | ||
---|---|---|
276 | 276 |
entity.addBulge(new Double(0)); |
277 | 277 |
}*/ |
278 | 278 |
} |
279 |
System.out.println("entity.getPts().size() = " + entity.getPts().size()); |
|
280 |
System.out.println("entity.getBulges().size() = " + entity.getBulges().size()); |
|
279 |
//System.out.println("entity.getPts().size() = " + entity.getPts().size());
|
|
280 |
//System.out.println("entity.getBulges().size() = " + entity.getBulges().size());
|
|
281 | 281 |
if (grp.hasCode(62)) { |
282 | 282 |
entity.dxfColor = grp.getDataAsInt(62); |
283 | 283 |
} else { |
... | ... | |
285 | 285 |
} |
286 | 286 |
if (grp.hasCode(70)) { |
287 | 287 |
entity.flags = grp.getDataAsInt(70); |
288 |
System.out.println("entity.flags = " + entity.flags); |
|
288 |
//System.out.println("entity.flags = " + entity.flags);
|
|
289 | 289 |
} |
290 | 290 |
if ((entity.flags & 0x01) == 0x01) { |
291 | 291 |
entity.closed = true; |
branches/v02_desarrollo/libraries/libCq CMS for java.old/src/org/cresques/px/dxf/DxfEllipse.java | ||
---|---|---|
40 | 40 |
} |
41 | 41 |
center = new Point2D.Double((pts[0].getX()+pts[1].getX())/2.0, (pts[0].getY()+pts[1].getY())/2.0); |
42 | 42 |
double majorAxisLength = pt1.distance(pt2); |
43 |
System.out.println("minorAxisLength = " + minorAxisLength); |
|
44 |
System.out.println("majorAxisLength = " + majorAxisLength); |
|
43 |
//System.out.println("minorAxisLength = " + minorAxisLength);
|
|
44 |
//System.out.println("majorAxisLength = " + majorAxisLength);
|
|
45 | 45 |
minorToMajorAxisRatio = minorAxisLength/majorAxisLength; |
46 | 46 |
} |
47 | 47 |
|
branches/v02_desarrollo/libraries/libCq CMS for java.old/src/org/cresques/px/dxf/DxfArc.java | ||
---|---|---|
90 | 90 |
gp = new GeneralPath(); |
91 | 91 |
Point2D pt0 = null, pt=null, pt1=null; |
92 | 92 |
Point2D.Double ptTmp = new Point2D.Double(0.0, 0.0); |
93 |
System.out.println("pts.length = " + pts.length); |
|
93 |
//System.out.println("pts.length = " + pts.length);
|
|
94 | 94 |
for (int i=0; i<pts.length; i++) { |
95 | 95 |
pt1 = (Point2D)pts[i]; |
96 | 96 |
vp.mat.transform(pt1, ptTmp); |
Also available in: Unified diff