AcGeCircArc3d::boundBlock() gives unexpected Min and Max points for an AcDbEllipse

By Fenton Webb

Issue

Using AcGeCircArc3d (or CircularArc3d in .NET) to generate a curve, I find that the boundBlock() returns strange results.

Solution

boundBlock() does not necessarily return a bounding box whose sides are parallel to the entity coordinate system (ECS). In fact for ellipses, it returns a bounding box whose edges are parallel to the ellipse major and minor axes… all other bounding boxes are generated parallel to the ECS… orthoBoundBlock(), on the other hand, returns points of a bounding box whose edges are parallel to the ECS – so use orthoBoundBlock() instead.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading