Message 1 of 2
Not applicable
05-08-2013
08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I use the function setAngles to make a semicircle ,but the semicircle'angle is not 180 degree,it is mybe 179 degree. i was mixed-up,why????? my plaform is VS2005(C++)+arx2008,
code:
double PI = 3.14159265358979323846;
AcGeCircArc3d *cirArc = new AcGeCircArc3d();
cirArc->setAngles(0.0, PI);
AcGeIntArray edgeTypes;
AcGeVoidPointerArray edgePtrs;
edgeTypes.append(AcDbHatch::kCirArc);
edgePtrs.append((void*)cirArc);
Hatch1->appendLoop(AcDbHatch::kDefault, edgePtrs, edgeTypes);
es=Hatch1->evaluateHatch();
what is the problem???
Solved! Go to Solution.