sc::Edge(3)
π 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 objectrefcount_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 nglint 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
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- ubuntu noble: libsc-doc 2.3.1-22build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms