Class Rotation2

java.lang.Object
one.empty3.growth.graphics.Rotation2

public class Rotation2 extends Object
  • Constructor Details

    • Rotation2

      public Rotation2()
  • Method Details

    • projection

      public Point3D projection(Point3D X, Point3D V, Point3D P)
      Methode qui calcule la projection orthogonale du point P sur une droite D representée par un point X et un vecteur V (P = X + kV). ATTENTION : cette methode renvoit le coefficient k.
      Parameters:
      X - Un point de la droite D.
      V - Le vecteur directeur de la droite D.
      P - Le point dont on souhaite connaître le projeté sur la droite D.
      Returns:
      Le coefficient de k de P = X + kV.
    • rotation

      public Point3D rotation(Point3D X, Point3D A, Point3D B, double angle)
    • ifIsNan

      public void ifIsNan(Point3D atester, Point3D defautValue)