You're reading the documentation for an older, but still supported version
(GL013300).
For information on the latest version, please have a look at GL013301.
For information on the latest version, please have a look at GL013301.
SAFETY_ZONE_SHAPE_CAPSULE
This structure defines a capsule-shaped safety zone, which consists of a cylindrical body capped by hemispherical ends. It is typically used to model elongated or rod-shaped safety regions.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
Center of the first hemispherical end |
||
12 |
|
Center of the second hemispherical end |
||
24 |
|
|
Radius of the capsule’s cylindrical body and hemispherical caps |
Total size: 28 bytes
Defined in: DRFS.h
typedef struct _SAFETY_ZONE_SHAPE_CAPSULE
{
/* center of first hemisphere */
POINT_3D _tCenter1;
/* center of second hemisphere */
POINT_3D _tCenter2;
/* capsule radius (mm) */
float _fRadius;
} SAFETY_ZONE_SHAPE_CAPSULE, *LPSAFETY_ZONE_SHAPE_CAPSULE;