|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.tudelft.simulation.language.d2.Circle
public final class Circle
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL)
, no warranty
| Method Summary | |
|---|---|
static java.awt.geom.Point2D[] |
intersection(java.awt.geom.Point2D center0,
double radius0,
java.awt.geom.Point2D center1,
double radius1)
Elegant intersection algorithm from http://astronomy.swin.edu.au/~pbourke/geometry/2circle/. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.awt.geom.Point2D[] intersection(java.awt.geom.Point2D center0,
double radius0,
java.awt.geom.Point2D center1,
double radius1)
center0 - the center of the first circleradius0 - the radius of the first circlecenter1 - the center of the second circleradius1 - the radius of the second circle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||