Login   Register  
PHP Classes

PHP Circles Intersection: Find the intersection points between two circles

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 203 All time: 7,274 This week: 1,235Up
Version License PHP version Categories  
circles-intersection 1.0GNU General Public Lice...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
Name: Ovunc Tukenmez <contact>
Classes: 9 packages by
Country: Turkey Turkey
Age: 28
All time rank: 88019 in Turkey Turkey
Week rank: 923 Down12 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:203All time:7,274
 This week:0This week:1,235Up