Celeritas
0.5.0-86+4a8eea4
|
#include "CsgObject.hh"
#include <utility>
#include "corecel/io/JsonPimpl.hh"
#include "ObjectIO.json.hh"
#include "detail/CsgUnitBuilder.hh"
#include "detail/VolumeBuilder.hh"
Functions | |
std::shared_ptr< AllObjects const > | celeritas::orangeinp::make_subtraction (std::string &&label, SPConstObject const &minuend, SPConstObject const &subtrahend) |
Make a new object that is the second object subtracted from the first. More... | |
std::shared_ptr< AllObjects const > | celeritas::orangeinp::make_rdv (std::string &&label, VecSenseObj &&inp) |
Make a combination of possibly negated objects. More... | |
std::shared_ptr< AllObjects const > celeritas::orangeinp::make_rdv | ( | std::string && | label, |
VecSenseObj && | inp | ||
) |
Make a combination of possibly negated objects.
The Region Definition Vector is the SCALE way for defining media, boundaries, etc. It must not be empty.
std::shared_ptr< AllObjects const > celeritas::orangeinp::make_subtraction | ( | std::string && | label, |
SPConstObject const & | minuend, | ||
SPConstObject const & | subtrahend | ||
) |
Make a new object that is the second object subtracted from the first.
This just takes the intersection the first object and the negated second:
A - B <=> A & ~B