45 class LX_GEOM_EXPORT
Dir 70 Dir(
const double Xv,
const double Yv,
const double Zv);
95 void setCoord(
const int Index,
const double Xi);
99 void setCoord(
const double Xv,
const double Yv,
const double Zv);
101 void setX(
const double X);
103 void setY(
const double Y);
105 void setZ(
const double Z);
115 double coord(
const int Index)
const;
117 void coord(
double& Xv,
double& Yv,
double& Zv)
const;
129 bool isEqual(
const Dir& Other,
const double AngularTolerance)
const;
132 bool isNormal(
const Dir& Other,
const double AngularTolerance)
const;
135 bool isOpposite(
const Dir& Other,
const double AngularTolerance)
const;
140 bool isParallel(
const Dir& Other,
const double AngularTolerance)
const;
146 double angle(
const Dir& Other)
const;
156 double angleWithRef(
const Dir& Other,
const Dir& VRef)
const;
161 void cross(
const Dir& Right);
169 Dir crossed(
const Dir& Right)
const;
173 void crossCross(
const Dir& V1,
const Dir& V2);
182 Dir crossCrossed(
const Dir& V1,
const Dir& V2)
const;
184 double dot(
const Dir& Other)
const;
193 double dotCross(
const Dir& V1,
const Dir& V2)
const;
200 Dir reversed()
const;
205 void mirror(
const Dir& V);
211 Dir mirrored(
const Dir& V)
const;
231 void rotate(
const Geom::Ax1& A1,
const double Ang);
235 Dir rotated(
const Geom::Ax1& A1,
const double Ang)
const;
253 bool operator==(
const Geom::Dir& other)
const;
256 double& operator[](
int i);
257 const double& operator[](
int i)
const;
263 LX_GEOM_EXPORT QString
to_string(
const Dir& dir);
X
Definition: Globals.h:29
static Dir YDir()
Definition: Dir.h:76
void operator^=(const Dir &Right)
Definition: Dir.h:162
static Dir XDir()
Definition: Dir.h:75
void transform(Container container, OutputIt out, BinaryFunction function)
Definition: Algorithms.h:29
static Dir ZDir()
Definition: Dir.h:77
Dir operator^(const Dir &Right) const
Definition: Dir.h:170
Y
Definition: Globals.h:29
LX_GEOM_EXPORT QString to_string(const Dir &dir)
Z
Definition: Globals.h:29
Defines a non-persistent vector in 3D space.
Definition: Vec.h:44
Dir operator-() const
Definition: Dir.h:201
DualNumber operator *(DualNumber a, DualNumber b)
Definition: DualNumber.h:71