OEBoxExtend¶
bool OEBoxExtend(OEBoxBase& box, float x_ext, float y_ext, float z_ext)
Extends each side of the box by the specified amount. x_ext extends the two faces of the box normal to the x-axis. Thus the x dimension of the box will increase by 2 times x_ext. The y_ext and z_ext perform the same function for the y and z faces respectively.
bool OEBoxExtend(OEBoxBase& box, float ext)
Extends every face of box by ext. Thus every dimension of the box will increase by 2 times ext.