• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mathematical area of closed vector path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mathematical area of closed vector path


  • Subject: Re: mathematical area of closed vector path
  • From: David Phillip Oster <email@hidden>
  • Date: Mon, 24 Jan 2005 20:40:58 -0800

At 8:03 PM -0800 1/24/05, "P. George" <email@hidden> wrote:
How would one go about figuring out the mathematical area (xxx units
squared) of a closed vector path?

Note: These paths will not be simple little boxes or circles.  Think
complex paths--composed of mulitple line segments and arc segments
(both convex and concave).
- Philip

I use the GLU Tesslator (part of the OpenGL GLU library) to decompose the complex path into a series of triangles. Once you've got triangles, the area is trivial. Of course, this isn't as mathematically accurate as handling the curves directly, without a polygonal approximation.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Filtering breaks bindings-enabled app
  • Next by Date: Re: Database
  • Previous by thread: RE: mathematical area of closed vector path
  • Next by thread: Filtering breaks bindings-enabled app
  • Index(es):
    • Date
    • Thread