45 egsWarning(
"EGS_TransformedGeometry::setMedia: don't use this method. Use the\n"
46 " setMedia() methods of the geometry objects that make up this geometry\n");
49 void EGS_TransformedGeometry::setRelativeRho(
int start,
int end, EGS_Float rho) {
53 void EGS_TransformedGeometry::setRelativeRho(
EGS_Input *) {
54 egsWarning(
"EGS_TransformedGeometry::setRelativeRho(): don't use this "
55 "method. Use the \n setRelativeRho() methods of the underlying "
59 void EGS_TransformedGeometry::setBScaling(
int start,
int end, EGS_Float rho) {
63 void EGS_TransformedGeometry::setBScaling(
EGS_Input *) {
64 egsWarning(
"EGS_TransformedGeometry::setBScaling(): don't use this "
65 "method. Use the \n setBScaling() methods of the underlying "
78 egsWarning(
"createGeometry(gtransformed): got a null pointer"
85 int err = input->
getInput(
"my geometry",gname);
88 "createGeometry(gtransformed): my geometry must be defined\n"
89 " either inline or using 'my geometry = some_name'\n");
94 egsWarning(
"createGeometry(gtransformed): no geometry named %s"
95 " is defined\n",gname.c_str());
103 egsWarning(
"createGeometry(gtransformed): null transformation."
104 " I hope you know what you are doing\n");
109 "unity transformation. I hope you know what you are doing\n");
121 void EGS_TransformedGeometry::getLabelRegions(
const string &str, vector<int> ®s) {
int setLabels(EGS_Input *input)
Set the labels from an input block.
Global egspp functions header file.
EGS_GLIB_EXPORT EGS_BaseGeometry * createGeometry(EGS_Input *input)
Base geometry class. Every geometry class must be derived from EGS_BaseGeometry.
void setBoundaryTolerance(EGS_Input *inp)
Set the value of the boundary tolerance from the input inp.
static EGS_BaseGeometry * getGeometry(const string &Name)
Get a pointer to the geometry named Name.
virtual void getLabelRegions(const string &str, vector< int > ®s)
Get the list of all regions labeled with str.
void setName(EGS_Input *inp)
Set the name of the geometry from the input inp.
int ref()
Increase the reference count to this geometry.
static EGS_BaseGeometry * createSingleGeometry(EGS_Input *inp)
Create a single geometry from the input inp.
EGS_InfoFunction EGS_EXPORT egsWarning
Always use this function for reporting warnings.