sc::SphereShape(3)

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

πŸ’– NAME πŸ’–

sc::SphereShape β€” the sphere shape class, bestie. This is the sc::SphereShape(3) page from the MPQC manual, and we're gonna get you comfy with it. 🫢


✨ SYNOPSIS ✨

Inherits sc::Shape.

🌸 Public Member Functions 🌸

  • SphereShape (const SCVector3 &, double) β€” constructor that takes a const SCVector3 & and a double. Signature is right there, no cap. ✨
  • SphereShape (const Ref< KeyVal > &) β€” constructor that takes a const Ref< KeyVal > &. That's the whole listed signature, bestie. πŸ’…
  • SphereShape (const SphereShape &) β€” copy constructor from another SphereShape. Iconic copy behavior, literally right there in the name. πŸŽ€
  • void boundingbox (double minvalue, double maxvalue, SCVector3 &p1, SCVector3 &p2) β€” returns void, and takes double minvalue, double maxvalue, plus two SCVector3 & refs: p1 and p2. All the deets, preserved. πŸ¦‹
  • double radius () const β€” no args, returns a double, and it's const. Clean. 🌸
  • const SCVector3 & origin () const β€” no args, returns a const SCVector3 &, and it's const. Slay. πŸ’œ
  • double distance_to_surface (const SCVector3 &r, SCVector3 *grad=0) const β€” takes const SCVector3 &r and an optional SCVector3 *grad=0, returns double, and it's const. Not me keeping every character exact 😭
  • void print (std::ostream &o=ExEnv::out0()) const β€” returns void, takes an optional std::ostream &o=ExEnv::out0(), and it's const. The page says it does exactly this: Print information about the object. πŸ–¨οΈβœ¨
  • double radius (double r) β€” the other radius overload: takes a double r and returns a double. Two radius entries, both invited to the function party. πŸ’€
  • const SCVector3 & origin (const SCVector3 &o) β€” takes a const SCVector3 &o and returns a const SCVector3 &. Another origin overload, fully accounted for. πŸ‘‘
  • int gradient_implemented () const β€” no args, returns an int, and it's const. Short king, but crucial. πŸ”₯

🫢 Additional Inherited Members 🫢

No extra members are listed under this heading. It's just the heading doing its little main character moment β€” that's it, no items. πŸ’€

✍️ Author ✍️

Generated automatically by Doxygen for MPQC from the source code.


okay bestie, that's the whole page πŸ’… this little manual page is Version 2.3.1, dated Sun Oct 4 2020 β€” mwah, bye! πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from