CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
63 double yy) :
x (xx),
y (yy) {}
85 *
this = matrix * vect;
204 return crossProduct (vect) > 0.0 ? angleTo(vect) : -angleTo(vect);
400 return x * vect.
y -
y * vect.
x;
428 unsigned int i)
const;
bool isUnitLength(const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGeVector2d &vect, const OdGeTol &tol, OdGeError &status) const
bool isEqualTo(const OdGeVector2d &vect, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector2d & normalize(const OdGeTol &tol=OdGeContext::gTol)
static GE_STATIC_EXPORT const OdGeVector2d kYAxis
bool isZeroLength(const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector2d & setToSum(const OdGeVector2d &vector1, const OdGeVector2d &vector2)
double dotProduct(const OdGeVector2d &vect) const
bool isParallelTo(const OdGeVector2d &vect, const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGeVector2d &vect, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector2d & transformBy(const OdGeMatrix2d &xfm)
OdGeVector2d & mirror(const OdGeVector2d &line)
OdGeVector2d & normalize(const OdGeTol &tol, OdGeError &status)
GE_TOOLKIT_EXPORT OdGeVector3d operator*(const OdGeMatrix3d &matrix, const OdGeVector3d &vect)
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
OdGeVector2d normal(const OdGeTol &tol=OdGeContext::gTol) const
static GE_STATIC_EXPORT const OdGeVector2d kIdentity
OdGeVector2d & set(double xx, double yy)
double angleToCCW(const OdGeVector2d &vect) const
double lengthSqrd() const
OdGeVector2d perpVector() const
OdGeVector2d & setToProduct(const OdGeVector2d &vect, double scale)
OdGeVector2d & rotateBy(double angle)
bool isCodirectionalTo(const OdGeVector2d &vect, const OdGeTol &tol=OdGeContext::gTol) const
static GE_STATIC_EXPORT OdGeTol gTol
#define GE_TOOLKIT_EXPORT
double angleTo(const OdGeVector2d &vect) const
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
static GE_STATIC_EXPORT const OdGeVector2d kXAxis
double normalizeGetLength(double tol=1.e-300)
OdGeVector2d & setToProduct(const OdGeMatrix2d &matrix, const OdGeVector2d &vect)
OdGeVector2d(double xx, double yy)
bool isCodirectionalTo(const OdGeVector2d &vect, const OdGeTol &tol, OdGeError &status) const
double crossProduct(const OdGeVector2d &vect) const
bool isParallelTo(const OdGeVector2d &vect, const OdGeTol &tol, OdGeError &status) const