79 o <<
"x=\"" <<
x <<
"\" ";
91 o <<
"y=\"" <<
y <<
"\" ";
103 o <<
"z=\"" <<
z <<
"\"";
109 o <<
"/>" << std::endl;
113 void set(
const double x,
const double y,
const double z) {
168 double getY()
const {
199 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:131
bool isZNull() const
is the z coordinate NULL ?
Definition: Direction.h:205
the direction is set dynamically depending on the "toward" position
Definition: Direction.h:234
DirState yState
state for the y coordinates
Definition: Direction.h:246
double getY() const
get the y coordinate
Definition: Direction.h:169
void setX(const double x)
set the x coordinate
Definition: Direction.h:160
bool isXNull() const
is the x coordinate NULL ?
Definition: Direction.h:144
int towardIndex
toward atom index
Definition: Direction.h:250
void setNullZ()
set the z coordinate as NULL
Definition: Direction.h:215
double y
y coordinates
Definition: Direction.h:240
void setNullX()
set the x coordinate as NULL
Definition: Direction.h:154
double z
z coordinates
Definition: Direction.h:242
Direction()
default constructor: nothing is specified
Definition: Direction.h:43
bool isXSpecified() const
is the x coordinate specified
Definition: Direction.h:149
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:210
the direction has been specified to be always null
Definition: Direction.h:232
void setToward(const unsigned int toward)
set the toward index
Definition: Direction.h:125
int getToward() const
get the toward index
Definition: Direction.h:120
double getX() const
get the x coordinate
Definition: Direction.h:139
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:190
the direction has never been specified: it is absolutly free
Definition: Direction.h:231
double x
x coordinates
Definition: Direction.h:238
bool isYSpecified() const
is the y coordinate specified
Definition: Direction.h:179
the direction has been specified to be something imposed but not null (even 0.0 is possible!) ...
Definition: Direction.h:233
double getZ() const
get the z coordinate
Definition: Direction.h:200
void setZ(const double z)
set the z coordinate
Definition: Direction.h:221
void setNullY()
set the y coordinate as NULL
Definition: Direction.h:184
DirState xState
state for the x coordinates
Definition: Direction.h:244
DirState
state of the x,y and z
Definition: Direction.h:230
DirState zState
state for the z coordinates
Definition: Direction.h:248
bool isYNull() const
is the y coordinate NULL ?
Definition: Direction.h:174