Go to the documentation of this file.
22 boundInfSetup(false) {}
30 boundInfSetup(true) {}
35 boundSup((bound == BOUND_SUP) ?
x : 0),
36 boundInf((bound == BOUND_INF) ?
x : 0),
37 boundSupSetup(bound == BOUND_SUP),
38 boundInfSetup(bound == BOUND_INF) {}
42 boundSingle(
clone.boundSingle),
43 boundSup(
clone.boundSup),
44 boundInf(
clone.boundInf),
45 boundSupSetup(
clone.boundSupSetup),
46 boundInfSetup(
clone.boundInfSetup) {}
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;
221 m.setSingleBound(val);
229 os <<
"[" <<
v.size() <<
"](";
230 for (VectorMultiBound::const_iterator iter =
v.begin(); iter !=
v.end();
232 if (iter !=
v.begin()) os <<
",";
249 for (std::size_t
i = 0;
i < vali; ++
i) {
SOT_CORE_EXPORT std::istream & operator>>(std::istream &os, VectorMultiBound &v)
void unsetDoubleBound(SupInfType boundType)
std::vector< MultiBound > VectorMultiBound
#define sotDEBUGOUT(level)
MultiBound & operator=(const MultiBound &other)
static void SOT_MULTI_BOUND_CHECK_C(std::istream &is, char check, VectorMultiBound &v)
MultiBoundModeType getMode(void) const
#define sotDEBUGIN(level)
double getDoubleBound(const SupInfType bound) const
double getSingleBound(void) const
bool getDoubleBoundSetup(const SupInfType bound) const
virtual CollisionGeometry * clone() const=0
SOT_CORE_EXPORT std::ostream & operator<<(std::ostream &os, const VectorMultiBound &v)
bool check(const T &value, const T &other)
void setDoubleBound(SupInfType boundType, double boundValue)
void setSingleBound(double boundValue)
MultiBound(const double x=0.)
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31