float angleThreshold() const
Sets an angle threshold in degrees for ray intersections, effectively turning a ray into a cone.
float maximumDistance() const
The maximum distance from ray origin to look for hits when casting a ray.
bool singleResult() const
Returns whether to fetch only the closest hit for each layer or entity type.
QgsRayCastContext()=default
void setSingleResult(bool enable)
Sets whether to fetch only the closest hit for each layer or entity type.
void setMaximumDistance(float distance)
Sets the maximum distance from ray origin to look for hits when casting a ray.
void setAngleThreshold(float angle)
Sets an angle threshold in degrees for ray intersections, effectively turning a ray into a cone.