|
| constexpr | ClipPlanes () |
| constexpr | ClipPlanes (float n, float f) |
| constexpr float | clipNear () const noexcept |
| constexpr float | clipFar () const noexcept |
| constexpr void | setClipNear (float n) noexcept |
| constexpr void | setClipFar (float f) noexcept |
| constexpr | QVector2D () noexcept |
| | Constructs a null vector, i.e.
|
| | QVector2D (Qt::Initialization) noexcept |
| constexpr | QVector2D (float xpos, float ypos) noexcept |
| | Constructs a vector with coordinates (xpos, ypos).
|
| constexpr | QVector2D (QPoint point) noexcept |
| | Constructs a vector with x and y coordinates from a 2D point.
|
| constexpr | QVector2D (QPointF point) noexcept |
| | Constructs a vector with x and y coordinates from a 2D point.
|
| constexpr | QVector2D (QVector3D vector) noexcept |
| | Constructs a vector with x and y coordinates from a 3D vector.
|
| constexpr | QVector2D (QVector4D vector) noexcept |
| | Constructs a vector with x and y coordinates from a 3D vector.
|
| constexpr bool | isNull () const noexcept |
| | Returns true if the x and y coordinates are set to 0.0, otherwise returns false.
|
| constexpr float | x () const noexcept |
| | Returns the x coordinate of this point.
|
| constexpr float | y () const noexcept |
| | Returns the y coordinate of this point.
|
| constexpr void | setX (float x) noexcept |
| | Sets the x coordinate of this point to the given finite x coordinate.
|
| constexpr void | setY (float y) noexcept |
| | Sets the y coordinate of this point to the given finite y coordinate.
|
| constexpr float & | operator[] (int i) |
| constexpr float | operator[] (int i) const |
| float | length () const noexcept |
| | Returns the length of the vector from the origin.
|
| constexpr float | lengthSquared () const noexcept |
| | Returns the squared length of the vector from the origin.
|
| QVector2D | normalized () const noexcept |
| | Returns the normalized unit vector form of this vector.
|
| void | normalize () noexcept |
| | Normalizes the current vector in place.
|
| float | distanceToPoint (QVector2D point) const noexcept |
| float | distanceToLine (QVector2D point, QVector2D direction) const noexcept |
| constexpr QVector2D & | operator+= (QVector2D vector) noexcept |
| | Adds the given vector to this vector and returns a reference to this vector.
|
| constexpr QVector2D & | operator-= (QVector2D vector) noexcept |
| | Subtracts the given vector from this vector and returns a reference to this vector.
|
| constexpr QVector2D & | operator*= (float factor) noexcept |
| | Multiplies this vector's coordinates by the given finite factor and returns a reference to this vector.
|
| constexpr QVector2D & | operator*= (QVector2D vector) noexcept |
| | Multiplies each component of this vector by the corresponding component of vector and returns a reference to this vector.
|
| constexpr QVector2D & | operator/= (float divisor) |
| | Divides this vector's coordinates by the given divisor and returns a reference to this vector.
|
| constexpr QVector2D & | operator/= (QVector2D vector) |
| constexpr QVector3D | toVector3D () const noexcept |
| | Returns the 3D form of this 2D vector, with the z coordinate set to zero.
|
| constexpr QVector4D | toVector4D () const noexcept |
| | Returns the 4D form of this 2D vector, with the z and w coordinates set to zero.
|
| constexpr QPoint | toPoint () const noexcept |
| | Returns the QPoint form of this 2D vector.
|
| constexpr QPointF | toPointF () const noexcept |
| | Returns the QPointF form of this 2D vector.
|
| Q_GUI_EXPORT | operator QVariant () const |
| | Returns the 2D vector as a QVariant.
|
Definition at line 128 of file qssgrendercamera_p.h.