PHP Classes
elePHPant
Icontem

PHP Circles Intersection: Find the intersection points between two circles

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-11-10 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 229 All time: 7,513 This week: 965Up
Version License PHP version Categories
circles-intersection 1.0GNU General Publi...5PHP 5, Math
Description Author

This class can find the intersection points between two circles.

It takes the coordinates of the center and the radius of two circles and returns the coordinates of the points where the circles intersect.

If the circles are the same or they do not intersect, the class does not return the intersection points.

The class can also compute the distance between the centers of the circles.

Innovation Award
PHP Programming Innovation award nominee
November 2013
Number 8
One way to determine if two circles overlap is to find if there are points where they intersect.

This class can locate the points of intersection between two circles if they overlap.

Manuel Lemos
Picture of Ovunc Tukenmez
  Performance   Level  
Name: Ovunc Tukenmez <contact>
Classes: 10 packages by
Country: Turkey Turkey
Age: 30
All time rank: 84518 in Turkey Turkey
Week rank: 303 Up4 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file IntersectionPointsOf2Circles.php Class class file
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file usage.txt Doc. documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:229
This week:0
All time:7,513
This week:965Up