Class PHXMassProperties
Last update: 22.06.2026Packages: com.phoenix_int.aserver.types
↳ java.lang.Object
↳ com.phoenix_int.aserver.types.PHXMassProperties
public class PHXMassProperties
extends java.lang.Object
This is a utility class for holding mass property information. The class is used by the PHXGeomInfo class.
Constructor Summary
| Constructor and Description |
|---|
PHXMassProperties(boolean hasCG, boolean hasVolume, boolean hasSurfaceArea, boolean hasMass) |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCG() |
double |
getcgX() |
double |
getcgY() |
double |
getcgZ() |
boolean |
getHasCG() |
boolean |
getHasMass() |
boolean |
getHasSurfaceArea() |
boolean |
getHasVolume() |
double |
getMass() |
double |
getSurfaceArea() |
double |
getVolume() |
void |
setCG(double x, double y, double z) |
void |
setcgX(double v) |
void |
setcgY(double v) |
void |
setcgZ(double v) |
void |
setMass(double v) |
void |
setSurfaceArea(double v) |
void |
setVolume(double v) |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PHXMassProperties
public PHXMassProperties(boolean hasCG,
boolean hasVolume,
boolean hasSurfaceArea,
boolean hasMass)
Method Detail
getcgX
public double getcgX()
getcgY
public double getcgY()
getcgZ
public double getcgZ()
getVolume
public double getVolume()
getSurfaceArea
public double getSurfaceArea()
getMass
public double getMass()
getHasCG
public boolean getHasCG()
getHasVolume
public boolean getHasVolume()
getHasSurfaceArea
public boolean getHasSurfaceArea()
getHasMass
public boolean getHasMass()
setcgX
public void setcgX(double v)
setcgY
public void setcgY(double v)
setcgZ
public void setcgZ(double v)
setVolume
public void setVolume(double v)
setSurfaceArea
public void setSurfaceArea(double v)
setMass
public void setMass(double v)
setCG
public void setCG(double x,
double y,
double z)
getCG
public java.lang.String getCG()