sc::Vertex(3)
π sc::Vertex(3) β bestie, it's the Library Functions Manual π
okay so welcome to the sc::Vertex(3) page, part of the Library Functions Manual, and I am so excited to walk you through it. this little cutie is a vertex. yes, like a point in space with β¨opinionsβ¨ (the opinions are normals). let's go π¦
πΈ NAME πΈ
sc::Vertex β she's a class, she's giving geometry, she's the moment π
β¨ SYNOPSIS β¨
she Inherits sc::RefCount. family tree matters, bestie π
Inherits sc::RefCount.
π Public Member Functions
these are the ones you can just... call. iconic behavior π
Vertex (const SCVector3 &point, const SCVector3 &normal)
Vertex (const SCVector3 &point)
const SCVector3 & point () const
int has_normal () const
const SCVector3 & normal () const
void set_point (const SCVector3 &p)
void set_normal (const SCVector3 &p)
operator SCVector3 & ()
void print (std::ostream &o=ExEnv::out0())
lowkey that's the whole main character list. two constructors, a getter for the point, a has_normal() vibe check, a getter for the normal, setters for both, a conversion operator, and a print(). periodt π
π«Ά Public Member Functions inherited from sc::RefCount
she got these from her ancestor. no cap, reference counting is a whole lifestyle π
int lock_ptr () constβ locks this object. grab it and don't let go πint unlock_ptr () constβ unlocks this object. okay release her, she's free ποΈvoid use_locks (bool inVal)β start and stop using locks on this object. toggle toggle ποΈrefcount_t nreference () constβ returns the reference count. just tell me the number πrefcount_t reference ()β increments the reference count and returns the new count. adding a bestie to the group chat βrefcount_t dereference ()β decrements the reference count and returns the new count. removing a bestie from the group chat (sad) βint managed () constβ (first one, she said it twice, and honestly? iconic) πvoid unmanage ()β turn off the reference counting mechanism for this object. she's going rogue, she's unmanaged now πint managed () constβ returns1if the object is managed. otherwise returns0. so like, a vibe check that returns a bool-ish number β β
not me listing int managed () const twice β but bestie, that's literally what the original says, so I'm keeping both. the way that accuracy is non-negotiable π
π Public Member Functions inherited from sc::Identity
Identifier identifier ()β returns theIdentifierfor this argument. she has a name tag and she's wearing it with pride π·οΈ
π Additional Inherited Members
π Protected Member Functions inherited from sc::RefCount
these are the family secrets, protected, you can't just call them from outside π
RefCount (const RefCount &)
RefCount & operator= (const RefCount &)
yep, copy constructor and copy assignment. the classics π
π Author
Generated automatically by Doxygen for MPQC from the source code. so like, no human wrote this by hand, it's a robot glow-up π€β¨
aaaand that's the whole page, bestie!! you ate this. go forth and vertex responsibly π¦π
signing off from MPQC Version 2.3.1 β sc::Vertex(3), she's done, she's slaying, she's 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