sc::UnionShape(3)
π 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 aShapeto the union, and yes the type is exactlyRef< Shape >. π«Άdouble distance_to_surface (const SCVector3 &r, SCVector3 *grad=0) constβ gives you adoubledistance to the surface for theSCVector3 &ryou pass in, and theSCVector3 *gradpointer defaults to0. no cap. π«int is_outside (const SCVector3 &r) constβ returns aninttelling you whetherris outside. icon behavior. πvoid boundingbox (double valuemin, double valuemax, SCVector3 &p1, SCVector3 &p2)β the bounding-box call, withdouble valuemin,double valuemax,SCVector3 &p1, andSCVector3 &p2exactly as listed. π¦int gradient_implemented () constβ returns anintfor 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
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms