sc::Edge(3)

πŸ“¦
version 2.3.1 Β· 4 versions
, in fedora 43, ubuntu noble

πŸ’– NAME πŸ’–

sc::Edge β€” bestie, it's the edge class, and she's so important, she's literally in the MPQC library functions manual (page sc::Edge(3), iykyk) πŸ‘‘


✨ SYNOPSIS ✨

Okay so the whole vibe here is inheritance, and she gets it from sc::RefCount. That's it, that's the tea πŸ«–

Inherits sc::RefCount.

πŸŽ€ Public Member Functions πŸŽ€

These are all her own functions, no hand-me-downs, she built these herself πŸ’…

Edge (const Ref< Vertex > &p1, const Ref< Vertex > &p2)
Edge (const Ref< Vertex > &p1, const Ref< Vertex > &p2, const Ref< Vertex > &p3)
Edge (const Ref< Vertex > &p1, const Ref< Vertex > &p2, const Ref< Vertex > &p3, const Ref< Vertex > &p4)
int order () const
double straight_length ()
Ref< Vertex > vertex (int i) const
Ref< Vertex > interior_vertex (int i) const
void add_vertices (std::set< Ref< Vertex > > &)
void set_order (int order, const Ref< Volume > &vol, double isovalue)
int interpolate (double location, SCVector3 &point, SCVector3 &norm)
int interpolate (double location, SCVector3 &point, SCVector3 &norm, const Ref< Volume > &vol, double isovalue)

Like, three different constructors? She said "options, babe" 😌 And two interpolate overloads? Not her being versatile fr fr 🌸

πŸ¦‹ Public Member Functions inherited from sc::RefCount πŸ¦‹

These ones she got from her parent class and honestly? Slay. Reference counting is the family business πŸ’–

  • int lock_ptr () const β€” Lock this object. πŸ”’
  • int unlock_ptr () const β€” Unlock this object. πŸ”“
  • void use_locks (bool inVal) β€” start and stop using locks on this object
  • refcount_t nreference () const β€” Return the reference count. Like, how many people are holding her? πŸ‘€
  • refcount_t reference () β€” Increment the reference count and return the new count. One more bestie joined the group chat ✨
  • refcount_t dereference () β€” Decrement the reference count and return the new count. Okay bye bestie πŸ’€
  • int managed () const β€” (no description given, she's mysterious, we respect it 🫢)
  • void unmanage () β€” Turn off the reference counting mechanism for this object. Turning off the safety net, brave of her ngl
  • int managed () const β€” Return 1 if the object is managed. Otherwise return 0. Yes she's listed twice in the docs, and no we will not be editing the source code, that's not our job πŸŽ€

🌈 Public Member Functions inherited from sc::Identity 🌈

  • Identifier identifier () β€” Return the Identifier for this argument. Who is she? She'll tell you πŸ’…

⭐ Additional Inherited Members ⭐

🧚 Protected Member Functions inherited from sc::RefCount 🧚

Protected means it's giving private club, you can't just walk in bestie πŸšͺ

RefCount (const RefCount &)
RefCount & operator= (const RefCount &)

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for MPQC from the source code. Not a human, just a robot doing her little thing πŸ€–βœ¨


Heads up bestie: this whole page was auto-generated, so if something's weird, blame Doxygen, not me 😭

And that's the whole page! This was MPQC Version 2.3.1, manual page sc::Edge(3) β€” library functions manual energy, periodt πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from