CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
83 double zz) :
x(xx),
y(yy),
z(zz) {}
228 x = vector1.
x + vector2.
x;
229 y = vector1.
y + vector2.
y;
230 z = vector1.
z + vector2.
z;
489 {
return x * vect.
x +
y * vect.
y +
z * vect.
z; }
539 unsigned int i)
const {
return * (&
x + i); }
540 double& operator [] (
541 unsigned int i) {
return * (&
x + i); }
OdGeVector3d & normalize(const OdGeTol &tol=OdGeContext::gTol)
unsigned int largestElement() const
bool isPerpendicularTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d & normalize(const OdGeTol &tol, OdGe::ErrorCondition &status)
double normalizeGetLength(double tol=1.e-300)
OdGeVector3d & set(double xx, double yy, double zz)
static GE_STATIC_EXPORT const OdGeVector3d kXAxis
OdGeVector3d & setToProduct(const OdGeVector3d &vect, double scale)
bool isEqualTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
bool isCodirectionalTo(const OdGeVector3d &vect, const OdGeTol &tol, OdGeError &status) const
OdGeVector3d orthoProject(const OdGeVector3d &planeNormal, const OdGeTol &tol, OdGeError &flag) const
double lengthSqrd() const
OdGeVector3d normal(const OdGeTol &tol=OdGeContext::gTol) const
double angleTo(const OdGeVector3d &vect) const
OdGeVector2d convert2d(const OdGePlanarEnt &plane) const
GE_TOOLKIT_EXPORT OdGeVector3d operator*(const OdGeMatrix3d &matrix, const OdGeVector3d &vect)
static GE_STATIC_EXPORT const OdGeVector3d kIdentity
OdGeVector3d & set(const OdGePlanarEnt &plane, const OdGeVector2d &vect)
static GE_STATIC_EXPORT const OdGeVector3d kZAxis
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
OdGeVector3d perpVector() const
OdGeVector3d(double xx, double yy, double zz)
OdGeVector3d & setToSum(const OdGeVector3d &vector1, const OdGeVector3d &vector2)
bool isParallelTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d crossProduct(const OdGeVector3d &vect) const
OdGeVector3d & transformBy(const OdGeMatrix3d &xfm)
OdGeVector3d orthoProject(const OdGeVector3d &planeNormal) const
GLuint GLsizei GLsizei * length
bool isZeroLength(const OdGeTol &tol=OdGeContext::gTol) const
bool isUnitLength(const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d(const OdGePlanarEnt &plane, const OdGeVector2d &vector2d)
bool isPerpendicularTo(const OdGeVector3d &vect, const OdGeTol &tol, OdGeError &status) const
bool isParallelTo(const OdGeVector3d &vect, const OdGeTol &tol, OdGeError &status) const
OdGeVector3d & setToProduct(const OdGeMatrix3d &matrix, const OdGeVector3d &vect)
static GE_STATIC_EXPORT OdGeTol gTol
#define GE_TOOLKIT_EXPORT
double angleTo(const OdGeVector3d &vect, const OdGeVector3d &refVector) const
static GE_STATIC_EXPORT const OdGeVector3d kYAxis
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
OdGeVector3d & rotateBy(double angle, const OdGeVector3d &axis)
OdGeVector2d convert2d() const
double angleOnPlane(const OdGePlanarEnt &plane) const
GLfloat GLfloat GLfloat z
OdGeVector3d & mirror(const OdGeVector3d &normalToPlane)
bool isCodirectionalTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
double dotProduct(const OdGeVector3d &vect) const
void setLength(double length)