I am trying to find out the bounding box of a bezier curve. I know that it can be done by getting all the points using de Casteljau's algorithm and then finding the minimum reactangle around the curve. But de Casteljau's algorithm will make my application too expensive, i feel. Is there anyother way i can get te bounding box of the curve aloung the axis?

Thank you.

Recommended Answers

All 3 Replies

Here's an SO thread with several examples and links. Perhaps it helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.