quaternion-java/fr/alnotz/quaternion/IsQuaternion.java
2023-05-23 23:28:58 +02:00

21 lines
505 B
Java
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package fr.alnotz.quaternion;
/**
* Interface détiquette pour tout nombre quaternionique.
*/
public interface IsQuaternion {
double getS();
double getI();
double getJ();
double getK();
void setS(double s);
void setI(double i);
void setJ(double j);
void setK(double k);
IsQuaternion plus(IsQuaternion quaternion);
IsQuaternion times(IsQuaternion quaternion);
IsQuaternion conjugate();
boolean equals(IsQuaternion quaternion);
String toString();
}