public class MagneticField
extends java.lang.Object
Constructor and Description |
---|
MagneticField(float x,
float y,
float z) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
float |
x()
Gets the magnetic field strength along the X-axis
|
float |
y()
Gets the magnetic field strength along the y-axis
|
float |
z()
Gets the magnetic field strength along the z-axis
|
public float x()
public float y()
public float z()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object