PHP Classes

PHP Circles Intersection: Find the intersection points between two circles

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 299 All time: 7,428 This week: 206Up
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
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:299
This week:0
All time:7,428
This week:206Up