36 #include "cxResourceExport.h"
52 cxResource_EXPORT
bool similar(
double a,
double b,
double tol = 1.0E-6);
78 cxResource_EXPORT
bool similar(
const Eigen::Array3i& a,
const Eigen::Array3i& b);
82 cxResource_EXPORT Eigen::Vector2d
fromString(
const QString& text);
Vector3D ceil(const Vector3D &a)
Vector3D divide_elems(const Vector3D &a, const Vector3D &b)
perform element-wise division of a and b.
Eigen::Vector2d fromString(const QString &text)
Vector3D unitVector(double thetaXY, double thetaZ)
compute a unit vector given angles xy in the xy plane and z meaning the elevation from the xy plane...
QString prettyFormat(Vector3D val, int decimals, int fieldWidth)
boost::shared_ptr< Vector3D > Vector3DPtr
double getThetaXY(Vector3D k)
get thetaXY, meaning the angle of v projected onto the xy plane
bool similar(const DoubleBoundingBox3D &a, const DoubleBoundingBox3D &b, double tol)
Vector3D cross(const Vector3D &a, const Vector3D &b)
compute cross product of a and b.
double getThetaZ(Vector3D k)
get thetaZ, z meaning the elevation from the xy plane
double dot(const Vector3D &a, const Vector3D &b)
compute inner product (or dot product) of a and b.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Vector3D multiply_elems(const Vector3D &a, const Vector3D &b)
perform element-wise multiplication of a and b.
Vector3D round(const Vector3D &a)