Documentation of 'org.jzy3d.maths.Angle3d' Java class
Angle3d
org.jzy3d.maths

Class Angle3d



  • public class Angle3d
    extends java.lang.Object
    An Angle3d stores three 3d points, considering the angle is on the second one. An instance may return angle(), cos() and sin().
    • Constructor Summary

      Constructors 
      Constructor and Description
      Angle3d(Coord3d p1, Coord3d p2, Coord3d p3)
      Create an angle, described by three coordinates.
      Angle3d(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
      float angle()
      Computes the angle at vertex p2 between rays p1,p2 and p3,p2.
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Angle3d

        public Angle3d(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. The angle is supposed to be on p2
      • Angle3d

        public Angle3d(Coord3d p1,
                       Coord3d p2,
                       Coord3d p3)
        Create an angle, described by three coordinates. The angle is supposed to be on p2
    • Method Detail

      • sin

        public float sin()
        Computes the sinus of the angle, by creating a fourth point on an orthogonal direction.
      • cos

        public float cos()
        Computes cosinus of the angle
      • angle

        public float angle()
        Computes the angle at vertex p2 between rays p1,p2 and p3,p2. Returns 0 to PI radians.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.