Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

QuadCurve2D intersects  RSS feed

 
Patrik Lundgren
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know of a simple way to find out if a Rectangle intersects a QuadCurve2D. The intersects methos returns true if it's the area between the points and the line itself. It's probably possible to get the PathIterator and do it manually but I was looking for an easier way.
 
raj madhuram
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you try the intersects(Rectangle2D r) method of QuadCurve2D class?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!