|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.geom.Angle
public class Angle
This class is an helper for angle calculation.

| Constructor Summary | |
|---|---|
Angle()
|
|
| Method Summary | |
|---|---|
static double |
addAngle(double a1,
double a2)
Returns the result of the addition of two angles between 0 and 2*Pi. |
static double |
normalizeAngle(double angle)
Normalizes the given angle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Angle()
| Method Detail |
|---|
public static double addAngle(double a1,
double a2)
0 and 2*Pi. The result is calculated modulo 2*Pi.
a1 - a value in [0,2Pi).a2 - a value in [0,2Pi).
2*Pi.public static double normalizeAngle(double angle)
angle - angle to normalize
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||