PHP Classes

Arc Length: Measure the length of a circle arc

Recommend this page to a friend!
  Info   Screenshots   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: 405 All time: 6,520 This week: 455Up
Version License Categories
arclength 1.0FreewareAlgorithms, PHP 5, Math
Description 

Author

This class can be used measure the length of arc of circle that contains 3 given points.

It takes the coordinates of three points and tries to fit them in a arc of circle. Then it calculates the length of that arc.

Picture of Jean Pierre Daviau
Name: Jean Pierre Daviau <contact>
Classes: 1 package by
Country: Canada Canada
Age: 77
All time rank: 353177 in Canada Canada
Week rank: 170 Up7 in Canada Canada Up

Details

PHP5 This class calculates the arc of three points on a circle. Call the class with -help argv[1] On the command line: php -check-f arcLength.php 0 14 73.5 9 96 0 [arc] => 98.554522503617 Usage: a) ligne de commande: php -check-f arcLength.php 0 14 73.5 9 96 0 4 >si y 1=y3=0 augmenter l'ordonnée de [ex:4] b) arcLength.php 0 14 73.5 9 96 0 4 >si y 1=y3=0 augmenter l'ordonnée de [ex:4] c) si y 1=y3=0 augmenter l'ordonnée de [ex:4] est facultatif. . . .(0,14) . . . . . . . . . . . . (75.5, 9) . . . . . . . . . . . . . . . . (73.12,9). . . ... . . . . . . .. . . . .(96,0) ................................... (0,0) (97.02,0) php -check-f arcLength.php 0 0 73.12 9 97.02 0 14 [arc] => 98.705349301392 php -check-f arcLength.php 0 14 73.5 9 96 0 [arc] => 98.554522503617 php -check-f arcLength.php 1 4 26 2 51 0 [arc] => 51.629657987267 ========================================= If you create an improved versionhttp://www.jeanpierredaviau.com/feedback.htm

Screenshots (1)  
  • arcLength.gif
  Files folder image Files (3)  
File Role Description
Plain text file arcLength.php Class arc calculator
Plain text file ReadMearcLength Doc. Readme

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:405
This week:0
All time:6,520
This week:455Up