Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGGeometry::Point2D Class Reference

The QSGGeometry::Point2D struct is a convenience struct for accessing 2D Points. More...

#include <qsggeometry.h>

+ Collaboration diagram for QSGGeometry::Point2D:

Public Member Functions

void set (float nx, float ny)
 Sets the x and y values of this point to x and y.
 

Public Attributes

float x
 
float y
 

Detailed Description

The QSGGeometry::Point2D struct is a convenience struct for accessing 2D Points.

\inmodule QtQuick

Definition at line 79 of file qsggeometry.h.

Member Function Documentation

◆ set()

void QSGGeometry::Point2D::set ( float nx,
float ny )
inline

Sets the x and y values of this point to x and y.

Definition at line 81 of file qsggeometry.h.

Member Data Documentation

◆ x

float QSGGeometry::Point2D::x

◆ y

float QSGGeometry::Point2D::y

Definition at line 80 of file qsggeometry.h.

Referenced by QWavefrontMesh::updateGeometry().


The documentation for this class was generated from the following files: