public interface IElectromagnet
| Modifier and Type | Field and Description |
|---|---|
static int |
ORIENT_HOR
dipole is oriented to provide action in the horizontal plane
|
static int |
ORIENT_NONE
no dipole orientation given - indicates error condition for oriented elements
|
static int |
ORIENT_VER
dipole is oriented to provide action in the vertical plane
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMagField()
Get the magnetic field strength of the electromagnet
|
int |
getOrientation()
Return the orientation enumeration code.
|
void |
setMagField(double dblField)
Set the magnetic field strength of the electromagnet.
|
void |
setOrientation(int enmOrient)
Return the orientation enumeration code.
|
static final int ORIENT_NONE
static final int ORIENT_HOR
static final int ORIENT_VER
int getOrientation()
double getMagField()
void setOrientation(int enmOrient)
enmOrient - magnet orientation enumeration codegetOrientation()void setMagField(double dblField)
dblField - magnetic field (in