|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jzy3d.maths.Angle2d
public class Angle2d
An Angle2d stores three 2d points, considering the angle is on the second one. An instance may return angle(), cos() and sin()
| Constructor Summary | |
|---|---|
Angle2d(Coord2d p1,
Coord2d p2,
Coord2d p3)
Create an angle, described by three coordinates. |
|
Angle2d(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float x3,
float y3,
float z3)
Create an angle, described by three points. |
|
| Method Summary | |
|---|---|
float |
angle()
Computes the angle |
float |
cos()
Computes cosinus of the angle |
float |
sin()
Computes the sinus of the angle, by creating a fourth point on an orthogonal direction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Angle2d(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float x3,
float y3,
float z3)
public Angle2d(Coord2d p1,
Coord2d p2,
Coord2d p3)
| Method Detail |
|---|
public float sin()
public float cos()
public float angle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||