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); }
644 return *
reinterpret_cast<const OdGePoint3d*
>(
this);
#define GE_TOOLKIT_EXPORT
GE_TOOLKIT_EXPORT OdGeVector3d operator*(const OdGeMatrix3d &matrix, const OdGeVector3d &vect)
static GE_STATIC_EXPORT const OdGeVector3d kZAxis
OdGeVector3d & set(double xx, double yy, double zz)
bool isZeroLength(const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d & normalize(const OdGeTol &tol, OdGe::ErrorCondition &status)
bool isPerpendicularTo(const OdGeVector3d &vect, const OdGeTol &tol, OdGeError &status) const
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=OdGeContext::gTol) const
OdGeVector2d convert2d() const
OdGeVector3d perpVector() const
bool isParallelTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
bool isCodirectionalTo(const OdGeVector3d &vect, const OdGeTol &tol, OdGeError &status) const
OdGeVector3d & set(const OdGePlanarEnt &plane, const OdGeVector2d &vect)
bool isParallelTo(const OdGeVector3d &vect, const OdGeTol &tol, OdGeError &status) const
static GE_STATIC_EXPORT const OdGeVector3d kIdentity
bool isUnitLength(const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d normal(const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
double dotProduct(const OdGeVector3d &vect) const
unsigned int largestElement() const
OdGeVector3d & rotateBy(double angle, const OdGeVector3d &axis)
double angleTo(const OdGeVector3d &vect) const
OdGeVector3d(double xx, double yy, double zz)
OdGeVector3d crossProduct(const OdGeVector3d &vect) const
OdGeVector2d convert2d(const OdGePlanarEnt &plane) const
double angleOnPlane(const OdGePlanarEnt &plane) const
OdGeVector3d(const OdGePlanarEnt &plane, const OdGeVector2d &vector2d)
void setLength(double length)
OdGeVector3d orthoProject(const OdGeVector3d &planeNormal, const OdGeTol &tol, OdGeError &flag) const
static GE_STATIC_EXPORT const OdGeVector3d kYAxis
const OdGePoint3d & asPoint() const
OdGeVector3d & setToProduct(const OdGeMatrix3d &matrix, const OdGeVector3d &vect)
OdGeVector3d & setToSum(const OdGeVector3d &vector1, const OdGeVector3d &vector2)
double lengthSqrd() const
OdGeVector3d & normalize(const OdGeTol &tol=OdGeContext::gTol)
OdGeVector3d & mirror(const OdGeVector3d &normalToPlane)
OdGeVector3d & transformBy(const OdGeMatrix3d &xfm)
static GE_STATIC_EXPORT const OdGeVector3d kXAxis
OdGeVector3d orthoProject(const OdGeVector3d &planeNormal) const
double angleTo(const OdGeVector3d &vect, const OdGeVector3d &refVector) const
double normalizeGetLength(double tol=1.e-300)
GLfloat GLfloat GLfloat z
GLuint GLsizei GLsizei * length
bool operator==(const BlockRefPath &rA, const BlockRefPath &rB)
DOM.
bool operator!=(const BlockRefPath &rA, const BlockRefPath &rB)
DOM.
static GE_STATIC_EXPORT OdGeTol gTol