Package math
Class MatriceRotation
java.lang.Object
math.MatriceRotation
- All Implemented Interfaces:
Serializable
Classe qui permet d'instancer des matrices de rotation pour permettre de
rotationner différents objets
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatriceRotation(double angleRotation) Matrice qui possède un angle en radian pour rotationner les blocs -
Method Summary
Modifier and TypeMethodDescriptionrotationner(Point2D pointARotationner) Méthode qui permet de retationner un point précis selon l'angle de rotation à l'aide de la matrice de rotation
-
Constructor Details
-
MatriceRotation
public MatriceRotation(double angleRotation) Matrice qui possède un angle en radian pour rotationner les blocs- Parameters:
angleRotation- l'angle en radian
-
-
Method Details
-
rotationner
Méthode qui permet de retationner un point précis selon l'angle de rotation à l'aide de la matrice de rotation- Parameters:
pointARotationner- Le point à retationner- Returns:
- Le point transformé
-