22 boundInfSetup(false) {}
52 "Accessing single bound of a non-single type.");
59 "Accessing double bound of a non-double type.");
65 "Accessing un-setup sup bound.");
72 "Accessing un-setup inf bound");
82 "Accessing double bound of a non-double type.");
136 sotERROR <<
"Error while parsing vector multi-bound. Waiting for a '" 137 << check <<
"'. Get '" << c <<
"' instead. " << std::endl;
139 "Error parsing vector multi-bound.");
176 sotDEBUG(15) <<
"Double" << std::endl;
179 if (std::string(c2, 2) !=
"--") {
185 sotDEBUG(15) <<
"First val = " << val << std::endl;
192 sotERROR <<
"Error while parsing multi-bound. Waiting for a ','. Get '" 193 << c <<
"' instead. " << std::endl;
196 "Error parsing multi-bound, while waiting for a ','.");
200 if (std::string(c2, 2) !=
"--") {
204 sotDEBUG(15) <<
"Second val = " << val << std::endl;
211 sotERROR <<
"Error while parsing multi-bound. Waiting for a ')'. Get '" 212 << c <<
"' instead. " << std::endl;
215 "Error parsing multi-bound, while waiting for a ')'.");
218 sotDEBUG(15) <<
"Single ('" << c <<
"')" << std::endl;
229 os <<
"[" << v.size() <<
"](";
230 for (VectorMultiBound::const_iterator iter = v.begin(); iter != v.end();
232 if (iter != v.begin()) os <<
",";
249 for (
unsigned int i = 0;
i < vali; ++
i) {
virtual CollisionGeometry * clone() const=0
#define sotDEBUGOUT(level)
std::vector< MultiBound > VectorMultiBound
SOT_CORE_EXPORT friend std::istream & operator>>(std::istream &is, MultiBound &m)
#define sotDEBUGIN(level)
MultiBound(const double x=0.)
void unsetDoubleBound(SupInfType boundType)
void setDoubleBound(SupInfType boundType, double boundValue)
void setSingleBound(double boundValue)
double getDoubleBound(const SupInfType bound) const
double getSingleBound(void) const
bool getDoubleBoundSetup(const SupInfType bound) const
static void SOT_MULTI_BOUND_CHECK_C(std::istream &is, char check, VectorMultiBound &v)
SOT_CORE_EXPORT friend std::ostream & operator<<(std::ostream &os, const MultiBound &m)
MultiBoundModeType getMode(void) const