Gazebo Sim

API Reference

8.9.0
RaycastResultInfo Struct Reference

A struct that holds the result of a raycasting operation. More...

#include <RaycastData.hh>

Public Attributes

double fraction
 The fraction of the ray length at the intersection/hit point. More...
 
gz::math::Vector3d normal
 The normal at the hit point in entity frame. More...
 
gz::math::Vector3d point
 The hit point in entity frame. More...
 

Detailed Description

A struct that holds the result of a raycasting operation.

Member Data Documentation

◆ fraction

double fraction

The fraction of the ray length at the intersection/hit point.

◆ normal

The normal at the hit point in entity frame.

◆ point

The hit point in entity frame.


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