icetBoundingBox(3)

✨ icetBoundingBox(3) ✨

okay bestie, welcome to the IceT Reference πŸ’– this is the page for icetBoundingBoxd and icetBoundingBoxf, and yes they're twins, yes they slay, let's go πŸŽ€


🌸 NAME 🌸

icetBoundingBoxd, icetBoundingBoxf β€” set bounds of geometry

like... tell IceT where ur stuff lives in space. that's the whole vibe πŸ¦‹


✨ Synopsis ✨

first things first, you gotta pull in the header:

#include <IceT.h>

then, the two icons themselves πŸ‘‘

void icetBoundingBoxd(   IceTDouble   x_min,
                         IceTDouble   x_max,
                         IceTDouble   y_min,
                         IceTDouble   y_max,
                         IceTDouble   z_min,
                         IceTDouble   z_max  );
void icetBoundingBoxf(   IceTFloat   x_min,
                         IceTFloat   x_max,
                         IceTFloat   y_min,
                         IceTFloat   y_max,
                         IceTFloat   z_min,
                         IceTFloat   z_max  );

one's the d version, one's the f version, pick ur fighter, both eat πŸ’…


πŸ’« Description πŸ’«

so what this does: it establishes the bounds of the geometry as contained in an axis-aligned box with the given extents. that's it, that's the tea β˜•

ngl, icetBoundingBoxd and icetBoundingBoxf are really just convenience functions. like, they are not doing anything wild. they create an array of the 8 corner vertices and set the bounding vertices appropriately. that's the whole trick πŸͺ„

if you wanna know the deeper lore, go read icetBoundingVertices. it's giving "the source material" fr fr πŸ“š


🫢 Errors 🫢

None. not a single one. clean page, clean conscience ✨


πŸ™ˆ Warnings πŸ™ˆ

None. no red flags here bestie, we checked πŸ’œ


πŸ’€ Bugs πŸ’€

None known. (iykyk that "known" is doing a lot of heavy lifting, but that's what it says 😭)


Copyright (C) 2003 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This source code is released under the New BSD License.


🌈 See Also 🌈


and that's the page, bestie!! this came to you from the IceT Reference, dated August 9, 2010 β€” yeah it's an elder but it still serves πŸ‘‘ go set some bounds, you got this πŸ«ΆπŸ’–βœ¨