Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGeoProjectionWebMercator::Plane Struct Reference

#include <qgeoprojection_p.h>

+ Collaboration diagram for QGeoProjectionWebMercator::Plane:

Public Member Functions

 Plane ()
 
 Plane (const QDoubleVector3D &planePoint, const QDoubleVector3D &planeNormal)
 
QDoubleVector3D lineIntersection (const QDoubleVector3D &linePoint, const QDoubleVector3D &lineDirection) const
 
QDoubleVector3D lineIntersection (const QDoubleVector3D &linePoint, const QDoubleVector3D &lineDirection, double &s) const
 
Line2D planeXYIntersection () const
 
bool isValid () const
 

Public Attributes

QDoubleVector3D m_point
 
QDoubleVector3D m_normal
 

Detailed Description

Definition at line 173 of file qgeoprojection_p.h.

Constructor & Destructor Documentation

◆ Plane() [1/2]

QGeoProjectionWebMercator::Plane::Plane ( )

Definition at line 846 of file qgeoprojection.cpp.

◆ Plane() [2/2]

QGeoProjectionWebMercator::Plane::Plane ( const QDoubleVector3D planePoint,
const QDoubleVector3D planeNormal 
)

Definition at line 851 of file qgeoprojection.cpp.

Member Function Documentation

◆ isValid()

bool QGeoProjectionWebMercator::Plane::isValid ( ) const

Definition at line 882 of file qgeoprojection.cpp.

◆ lineIntersection() [1/2]

QDoubleVector3D QGeoProjectionWebMercator::Plane::lineIntersection ( const QDoubleVector3D linePoint,
const QDoubleVector3D lineDirection 
) const

Definition at line 854 of file qgeoprojection.cpp.

◆ lineIntersection() [2/2]

QDoubleVector3D QGeoProjectionWebMercator::Plane::lineIntersection ( const QDoubleVector3D linePoint,
const QDoubleVector3D lineDirection,
double &  s 
) const
inline

Definition at line 860 of file qgeoprojection.cpp.

References QDoubleVector3D::dotProduct().

+ Here is the call graph for this function:

◆ planeXYIntersection()

QGeoProjectionWebMercator::Line2D QGeoProjectionWebMercator::Plane::planeXYIntersection ( ) const

Definition at line 868 of file qgeoprojection.cpp.

References QDoubleVector3D::crossProduct(), QDoubleVector3D::normalize(), QDoubleVector3D::setZ(), and QDoubleVector3D::toVector2D().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_normal

QDoubleVector3D QGeoProjectionWebMercator::Plane::m_normal

Definition at line 184 of file qgeoprojection_p.h.

◆ m_point

QDoubleVector3D QGeoProjectionWebMercator::Plane::m_point

Definition at line 183 of file qgeoprojection_p.h.


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