Quick3DVector2DValueType Class



  • x : qreal
  • y : qreal

Public Functions

qreal dotProduct(const QVector2D & vec) const
bool fuzzyEquals(const QVector2D & vec, qreal epsilon) const
bool fuzzyEquals(const QVector2D & vec) const
qreal length() const
QVector2D minus(const QVector2D & vec) const
QVector2D normalized() const
QVector2D plus(const QVector2D & vec) const
void setX(qreal)
void setY(qreal)
QVector2D times(const QVector2D & vec) const
QVector2D times(qreal scalar) const
QString toString() const
QVector3D toVector3d() const
QVector4D toVector4d() const
qreal x() const
qreal y() const

Property Documentation

x : qreal

Access functions:

qreal x() const
void setX(qreal)

y : qreal

Access functions:

qreal y() const
void setY(qreal)

Member Function Documentation

qreal Quick3DVector2DValueType::dotProduct(const QVector2D & vec) const

bool Quick3DVector2DValueType::fuzzyEquals(const QVector2D & vec, qreal epsilon) const

bool Quick3DVector2DValueType::fuzzyEquals(const QVector2D & vec) const

qreal Quick3DVector2DValueType::length() const

QVector2D Quick3DVector2DValueType::minus(const QVector2D & vec) const

QVector2D Quick3DVector2DValueType::normalized() const

QVector2D Quick3DVector2DValueType::plus(const QVector2D & vec) const

QVector2D Quick3DVector2DValueType::times(const QVector2D & vec) const

QVector2D Quick3DVector2DValueType::times(qreal scalar) const

QString Quick3DVector2DValueType::toString() const

QVector3D Quick3DVector2DValueType::toVector3d() const

QVector4D Quick3DVector2DValueType::toVector4d() const

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.