78 o <<
"x=\"" <<
x <<
"\" ";
90 o <<
"y=\"" <<
y <<
"\" ";
102 o <<
"z=\"" <<
z <<
"\"";
108 o <<
"/>" << std::endl;
112 void set(
const double x,
const double y,
const double z) {
167 double getY()
const {
198 double getZ()
const {
Direction(const Direction &d)
copy constructor
Definition: Direction.h:55
void xmlPrint(std::ostream &o) const
print to an ostream
Definition: Direction.h:66
bool isToward() const
true only if the direction is set by a toward atom
Definition: Direction.h:130
bool isZNull() const
is the z coordinate NULL ?
Definition: Direction.h:204
the direction is set dynamically depending on the "toward" position
Definition: Direction.h:233
DirState yState
state for the y coordinates
Definition: Direction.h:245
double getY() const
get the y coordinate
Definition: Direction.h:168
void setX(const double x)
set the x coordinate
Definition: Direction.h:159
bool isXNull() const
is the x coordinate NULL ?
Definition: Direction.h:143
int towardIndex
toward atom index
Definition: Direction.h:249
void setNullZ()
set the z coordinate as NULL
Definition: Direction.h:214
double y
y coordinates
Definition: Direction.h:239
void setNullX()
set the x coordinate as NULL
Definition: Direction.h:153
double z
z coordinates
Definition: Direction.h:241
Direction()
default constructor: nothing is specified
Definition: Direction.h:43
bool isXSpecified() const
is the x coordinate specified
Definition: Direction.h:148
Direction(double x0, double y0, double z0)
constructor with initialization of the 3 directions
Definition: Direction.h:49
Class that defines the direction of the Load with x, y and z.
Definition: Direction.h:39
bool isZSpecified() const
is the z coordinate specified
Definition: Direction.h:209
the direction has been specified to be always null
Definition: Direction.h:231
void setToward(const unsigned int toward)
set the toward index
Definition: Direction.h:124
int getToward() const
get the toward index
Definition: Direction.h:119
double getX() const
get the x coordinate
Definition: Direction.h:138
Direction(const unsigned int toward)
constructor with initialization of the toward
Definition: Direction.h:45
void setY(const double y)
set the y coordinate
Definition: Direction.h:189
the direction has never been specified: it is absolutly free
Definition: Direction.h:230
double x
x coordinates
Definition: Direction.h:237
bool isYSpecified() const
is the y coordinate specified
Definition: Direction.h:178
the direction has been specified to be something imposed but not null (even 0.0 is possible!) ...
Definition: Direction.h:232
double getZ() const
get the z coordinate
Definition: Direction.h:199
void setZ(const double z)
set the z coordinate
Definition: Direction.h:220
void setNullY()
set the y coordinate as NULL
Definition: Direction.h:183
DirState xState
state for the x coordinates
Definition: Direction.h:243
DirState
state of the x,y and z
Definition: Direction.h:229
DirState zState
state for the z coordinates
Definition: Direction.h:247
bool isYNull() const
is the y coordinate NULL ?
Definition: Direction.h:173