QGIS API Documentation  3.2.0-Bonn (bc43194)
Functions
qgscameracontroller.cpp File Reference
#include "qgscameracontroller.h"
#include "qgsvector3d.h"
#include "qgis.h"
#include <QDomDocument>
#include <Qt3DRender/QObjectPicker>
#include <Qt3DRender/QPickEvent>
Include dependency graph for qgscameracontroller.cpp:

Go to the source code of this file.

Functions

float find_x_on_line (float x0, float y0, float x1, float y1, float y)
 
QPointF screen_point_to_point_on_plane (const QPointF &pt, const QRect &viewport, Qt3DRender::QCamera *camera, float y)
 

Function Documentation

◆ find_x_on_line()

float find_x_on_line ( float  x0,
float  y0,
float  x1,
float  y1,
float  y 
)

Definition at line 197 of file qgscameracontroller.cpp.

◆ screen_point_to_point_on_plane()

QPointF screen_point_to_point_on_plane ( const QPointF &  pt,
const QRect &  viewport,
Qt3DRender::QCamera *  camera,
float  y 
)

Definition at line 205 of file qgscameracontroller.cpp.