org.jzy3d.maths
Class Angle2d
- java.lang.Object
-
- org.jzy3d.maths.Angle2d
-
public class Angle2d extends java.lang.ObjectAn Angle2d stores three 2d points, considering the angle is on the second one. An instance may return angle(), cos() and sin()
-
-
Constructor Summary
Constructors Constructor and Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatangle()Computes the angle at vertex p2 between vectors p1,p2 and p3,p2.floatcos()Computes cosinus of the anglefloatsin()Computes the sinus of the angle, by creating a fourth point on an orthogonal direction.
-
DMelt 3.0 © DataMelt by jWork.ORG