Q3BoundingBox_UnionPoint3D
You can use the Q3BoundingBox_UnionPoint3D function to find the union of a bounding box and a three-dimensional point.
TQ3BoundingBox *Q3BoundingBox_UnionPoint3D (
const TQ3BoundingBox *bBox,
const TQ3Point3D *pt3D,
TQ3BoundingBox *result);
bBox
- A pointer to a bounding box.
pt3D
- A three-dimensional point.
result
- On exit, a pointer to the union of the specified bounding box and the specified point.
DESCRIPTION
The Q3BoundingBox_UnionPoint3D function returns, as its function result and in the result parameter, a pointer to the bounding box that is the union of the bounding box specified by the bBox parameter and the three-dimensional point specified by the pt3D parameter. The result parameter can point to the memory pointed to by bBox, thereby performing the union operation in place.