| struct Bcomponent {
|
| Bcomponent* next; | // Next component in list
|
| Bstring id; | // Component identifier
|
| Bcomptype* type; | // Component type pointer
|
| Bcomponent* link[MAXLINK]; | // Links to other components
|
| Bcomponent* neighbor[MAXLINK]; | // Neighboring components
|
| int flag[MAXLINK]; | // Flags for connectors
|
| Vector3 loc; | // Location coordinates (angstroms)
|
| View view; | // View: 3-value unit vector and angle (radians)
|
| Vector3 vec; | // Vector for use as force or displacement
|
| Vector3 vel; | // Vector for use as velocity
|
| float radius; | // Display radius
|
| float color[4]; | // RGBA color
|
| float density; | // Component density or intensity
|
| float fom; | // Figure-of-merit
|
| int sel; | // Selection flag
|
| } ;
| |