COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
Constants defining Part types.
Collaboration diagram for Constants defining Part types.:

Enumerations

enum  PIECE {
  PIECE_TYPE_EXTERNAL_PANEL =0, PIECE_TYPE_INTERNAL_PANEL =1, PIECE_TYPE_BOX =2, PIECE_TYPE_CYLINDER =3,
  PIECE_TYPE_SPHERE =4, PIECE_TYPE_DIMENSIONLESS =5, PIECE_TYPE_CONE =6, PIECE_TYPE_COUNT,
  PIECE_TYPE_NONE =UINT16_MAX
}
 

Detailed Description

These constants define the different Part types that a Node can be made of.

Enumeration Type Documentation

enum PIECE
Enumerator
PIECE_TYPE_EXTERNAL_PANEL 

External Panel: n vertices and a thickness, subject to external forces.

PIECE_TYPE_INTERNAL_PANEL 

Internal Panel: n vertices and a thickness.

PIECE_TYPE_BOX 

Box: 8 vertices defining 2 parallel sides and a wall thickness, first set curled pointing out, second set pointing in.

PIECE_TYPE_CYLINDER 

Cylinder: 3 points and a wall thickness, first end, second end, point on radius of second end.

PIECE_TYPE_SPHERE 

Sphere: 2 points and a wall thickness; center and point on surface.

PIECE_TYPE_DIMENSIONLESS 

Dimensionless:

PIECE_TYPE_CONE 

Cone: same as Cylinder except first end is a point.

PIECE_TYPE_COUNT 
PIECE_TYPE_NONE 
63 {
79  PIECE_TYPE_NONE=UINT16_MAX
80 };
Box: 8 vertices defining 2 parallel sides and a wall thickness, first set curled pointing out...
Definition: cosmos-defs.h:69
Definition: cosmos-defs.h:78
Sphere: 2 points and a wall thickness; center and point on surface.
Definition: cosmos-defs.h:73
Cylinder: 3 points and a wall thickness, first end, second end, point on radius of second end...
Definition: cosmos-defs.h:71
Internal Panel: n vertices and a thickness.
Definition: cosmos-defs.h:67
Cone: same as Cylinder except first end is a point.
Definition: cosmos-defs.h:77
Definition: cosmos-defs.h:79
External Panel: n vertices and a thickness, subject to external forces.
Definition: cosmos-defs.h:65
Dimensionless:
Definition: cosmos-defs.h:75