Gazebo Physics

API Reference

8.0.0
GetRayIntersectionFromLastStepFeature::RayIntersectionT< PolicyT > Struct Template Reference

#include <GetRayIntersection.hh>

Public Types

using Scalar = typename PolicyT::Scalar
 
using VectorType = typename FromPolicy< PolicyT >::template Use< LinearVector >
 

Public Attributes

Scalar fraction
 The fraction of the ray length at the intersection/hit point.
 
VectorType normal
 The normal at the hit point in the world coordinates.
 
VectorType point
 The hit point in the world coordinates.
 

Member Typedef Documentation

◆ Scalar

template<typename PolicyT >
using Scalar = typename PolicyT::Scalar

◆ VectorType

template<typename PolicyT >
using VectorType = typename FromPolicy<PolicyT>::template Use<LinearVector>

Member Data Documentation

◆ fraction

template<typename PolicyT >
Scalar fraction

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

◆ normal

template<typename PolicyT >
VectorType normal

The normal at the hit point in the world coordinates.

◆ point

template<typename PolicyT >
VectorType point

The hit point in the world coordinates.


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