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_OBJECT_OBB
This structure defines an Oriented Bounding Box (OBB) safety object, which represents a 3D cuboid that can be rotated relative to the base frame. Unlike SAFETY_OBJECT_CUBE, this version uses four reference points to specify the box orientation in 3D space.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
POINT_3D |
Box vertices defining orientation |
Total size: 48 bytes
Defined in: DRFS.h
typedef struct _SAFETY_OBJECT_OBB
{
/* Vertices defining the oriented bounding box */
/* std(0), x-end(1), y-end(2), z-end(3) */
POINT_3D _tTargetPos[4];
} SAFETY_OBJECT_OBB, *LPSAFETY_OBJECT_OBB;