|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jimmc.spelsim.Cable
The cable and attached masses.
Constructor Summary | |
Cable()
Create a cable. |
Method Summary | |
double |
getBaseArea()
Get the base area of the cable. |
static Cable |
getCable(java.lang.String name)
Get a cable with preset values. |
static java.lang.String[] |
getCableNames()
Get the list of known cable names. |
double |
getCapacity()
Get the capacity of the cable. |
double |
getCenterOfCentrifugalAltitude()
Get the altitude of the center of centrifugal of the cable. |
double |
getCenterOfGravityAltitude()
Get the altitude of the center of gravity of the cable. |
double |
getCenterOfMassAltitude()
Get the altitude of the center of mass of the cable. |
double |
getCounterweightMass()
Get the mass of the counterweight. |
double |
getLength()
Get the length of the cable. |
double |
getMass()
Get the total mass of the cable. |
Material |
getMaterial()
Get the material of the cable. |
Planet |
getPlanet()
Get the planet aound which the cable orbits. |
double |
getSafetyFactor()
Get the safety factor of the cable. |
double |
getTaper()
Get the cable taper factor. |
void |
recalculateElements()
Recalculate the elements. |
void |
setCapacity(double capacity)
Set the capacity of the cable. |
void |
setLength(double length)
Set the length of the cable. |
void |
setMaterial(Material material)
Set the material of the cable. |
void |
setPlanet(Planet planet)
Set the planet around which the cable orbits. |
void |
setSafetyFactor(double safetyFactor)
Set the safety factor of the cable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cable()
Method Detail |
public static Cable getCable(java.lang.String name)
public static java.lang.String[] getCableNames()
public void setLength(double length)
length
- The length of the cable in meters.public double getLength()
public void setCapacity(double capacity)
capacity
- The capacity of the cable in Newtons.public double getCapacity()
public void setSafetyFactor(double safetyFactor)
public double getSafetyFactor()
public void setMaterial(Material material)
material
- The material from which the cable is made.public Material getMaterial()
public void setPlanet(Planet planet)
planet
- The planet around which the cable orbits.public Planet getPlanet()
public double getBaseArea()
public double getMass()
public double getCounterweightMass()
public double getTaper()
public double getCenterOfMassAltitude()
public double getCenterOfGravityAltitude()
public double getCenterOfCentrifugalAltitude()
public void recalculateElements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |