public final class Angle extends Object
(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
Modifier and Type | Method and Description |
---|---|
static double |
angle(Point2D p0,
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
|
public static double normalize2Pi(double angle)
angle
- the angle to normalizepublic static double normalizePi(double angle)
angle
- the angle to normalizeCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.