PHP Classes

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 (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 299 This week: 1All time: 7,421 This week: 560Up
Version License PHP version Categories
circles-intersection 1.0.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: 14 packages by
Country: Turkey Turkey
Age: 37
All time rank: 71911 in Turkey Turkey
Week rank: 109 Up4 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 6x

  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:299
This week:1
All time:7,421
This week:560Up