DART  6.10.1
dart::collision::RaycastResult Struct Reference

#include <RaycastResult.hpp>

Public Member Functions

void clear ()
 Clear the result. More...
 
bool hasHit () const
 Returns true if there is a hit. More...
 
 RaycastResult ()
 Constructor. More...
 

Public Attributes

std::vector< RayHitmRayHits
 

Constructor & Destructor Documentation

◆ RaycastResult()

dart::collision::RaycastResult::RaycastResult ( )

Constructor.

Member Function Documentation

◆ clear()

void dart::collision::RaycastResult::clear ( )

Clear the result.

◆ hasHit()

bool dart::collision::RaycastResult::hasHit ( ) const

Returns true if there is a hit.

Member Data Documentation

◆ mRayHits

std::vector<RayHit> dart::collision::RaycastResult::mRayHits