38 QgsRay3D(
const QVector3D &origin,
const QVector3D &direction );
44 QVector3D
origin()
const {
return mOrigin; }
56 void setOrigin(
const QVector3D &origin );
63 void setDirection(
const QVector3D direction );
69 QVector3D projectedPoint(
const QVector3D &point )
const;
71 bool isInFront(
const QVector3D &point )
const;
73 double angleToPoint(
const QVector3D &point )
const;
A representation of a ray in 3D.
QVector3D origin() const
Returns the origin of the ray.
QVector3D direction() const
Returns the direction of the ray see setDirection()