sc::UnionShape(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’– NAME πŸ’–

okay so bestie, this is the sc::UnionShape(3) page from the MPQC manual β€” manual name folded right in near the top, we’re not copying that header line, periodt. A UnionShape is volume enclosed by a set of Shape's. that’s the whole name vibe. ✨

🌸 SYNOPSIS 🌸

#include <shape.h>

Inherits sc::Shape.

Inherited by sc::DiscreteConnollyShape, and sc::VDWShape.

🌟 Public Member Functions 🌟

  • void add_shape (Ref< Shape >) β€” adds a Shape to the union, and yes the type is exactly Ref< Shape >. 🫢
  • double distance_to_surface (const SCVector3 &r, SCVector3 *grad=0) const β€” gives you a double distance to the surface for the SCVector3 &r you pass in, and the SCVector3 *grad pointer defaults to 0. no cap. πŸ’«
  • int is_outside (const SCVector3 &r) const β€” returns an int telling you whether r is outside. icon behavior. πŸ‘‘
  • void boundingbox (double valuemin, double valuemax, SCVector3 &p1, SCVector3 &p2) β€” the bounding-box call, with double valuemin, double valuemax, SCVector3 &p1, and SCVector3 &p2 exactly as listed. πŸ“¦
  • int gradient_implemented () const β€” returns an int for whether the gradient is implemented. πŸ”₯

πŸ”’ Protected Attributes πŸ”’

  • std::set< Ref< Shape > > _shapes β€” the protected set of shape refs, typed exactly like that. keep it cute, keep it protected. πŸ’…

🧬 Additional Inherited Members 🧬

this page literally just says there are additional inherited members β€” no extra list here, so I’m not inventing any deets. πŸ™ˆ

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

fr fr: A UnionShape is volume enclosed by a set of Shape's. that’s the detailed description, bestie. it’s giving β€œa bunch of Shape's teaming up to enclose volume,” and the page says it twice so you know it’s important. πŸ’–

✍️ AUTHOR ✍️

Generated automatically by Doxygen for MPQC from the source code. so yeah, the author line is a robot-generated note, not a mysterious icon. πŸ€–βœ¨


okay that’s the whole page, bestie β€” this was Version 2.3.1 of the MPQC manual, dated Sun Oct 4 2020, and you just read the sc::UnionShape(3) page. slay, hydrate, and may your shapes always union correctly πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from