• 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: NSBezierPath intersection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierPath intersection


  • Subject: Re: NSBezierPath intersection
  • From: p3consulting <email@hidden>
  • Date: Fri, 29 Apr 2005 21:04:47 +0200

It should be noted that you can actually find the intersection between two curve segments, but the math is hideous. You can boil it down to a ninth order polynomial and as such the curves can cross at anywhere between zero and nine places. My advice is don't bother; instead...




and don't forget the special case when both curves have a common part,
leading to an infinity of intersecting points...



Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7  C473 ABB3 4E83 208C 5DBF

_______________________________________________
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


References: 
 >NSBezierPath intersection (From: Linea Tessile srl <email@hidden>)
 >Re: NSBezierPath intersection (From: glenn andreas <email@hidden>)
 >Re: NSBezierPath intersection (From: Nicko van Someren <email@hidden>)

  • Prev by Date: CoreData retain/release/delete
  • Next by Date: Re: CoreData retain/release/delete
  • Previous by thread: Re: NSBezierPath intersection
  • Next by thread: Re: NSBezierPath intersection
  • Index(es):
    • Date
    • Thread