|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.language.d2.Angle
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Method Summary | |
static double |
angle(java.awt.geom.Point2D p0,
java.awt.geom.Point2D p1)
Return the 2-pi normalized angle when making an arc from p0 to p1 |
static double |
normalize2Pi(double angle)
Normalize an angle between 0 and 2*pi |
static double |
normalizePi(double angle)
Normalize an angle between -pi and +pi |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static double normalize2Pi(double angle)
angle - the angle to normalize
public static double normalizePi(double angle)
angle - the angle to normalize
public static double angle(java.awt.geom.Point2D p0,
java.awt.geom.Point2D p1)
p0 - first pointp1 - second point
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||