Class: PHXGeomInfo
Last update: 16.07.2025Package: com.phoenix_int.aserver.types
Class Hierarchy
↳ java.lang.Object
↳ com.phoenix_int.aserver.types.PHXGeomInfo
Declaration
public class PHXGeomInfo
extends java.lang.Object
This is a utility class that mirrors the structures in ModelCenter. If you want to calculate values for certain geometry information such as CGs, instantiate this class and set the values for the desired parameters. ModelCenter will then use these parameters instead of letting the user specify values or calculating them itself.
Constructor Summary
| Constructor and Description |
|---|
PHXGeomInfo() |
PHXGeomInfo(boolean hasRotation, boolean hasTranslation, boolean hasColor, boolean hasCentroid, boolean hasVolume, boolean hasSurfaceArea, boolean hasMass) |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
PHXAppearance |
getAppearance() |
PHXMassProperties |
getMassProperties() |
PHXOrientation |
getOrientation() |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PHXGeomInfo
public PHXGeomInfo()
PHXGeomInfo
public PHXGeomInfo(boolean hasRotation,
boolean hasTranslation,
boolean hasColor,
boolean hasCentroid,
boolean hasVolume,
boolean hasSurfaceArea,
boolean hasMass)
Method Detail
getOrientation
public PHXOrientation getOrientation()
getAppearance
public PHXAppearance getAppearance()
getMassProperties
public PHXMassProperties getMassProperties()