Bsoft object

struct Bcomponent

Source:

include/rwmodel.h

Description:

Model component parameter structure.

Features:

Type which must be a valid component type.
Location.
Orientation.
Force vector.
Radius.
Color.
Figure-of-merit.
Selection.

Code:

struct Bcomponent {
Bcomponent* next; // Next component in list
Bstring id; // Component identifier
Bstring type; // Component type identifier
Bcomponent* link[MAXLINK]; // Connectors to other components
int flag[MAXLINK]; // Flags for connectors
Vector3 loc; // Location coordinates (angstroms)
View view; // View: 3-value unit vector and angle (radians)
Vector3 force; // Force vector
float radius; // Display radius
float color[4]; // RGBA color
float fom; // Figure-of-merit
int sel; // Selection flag
} ;

Other objects included:

struct Bcomponent
class Bstring


Generated by bdoc.pl on Mon Jun 15 11:55:12 2009


Back to the Bsoft home