Friction information for a surface.  
 More...
#include <Surface.hh>
Friction information for a surface. 
 
◆ Friction()
      
        
          | sdf::SDF_VERSION_NAMESPACE::Friction::Friction  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ Element()
Get a pointer to the SDF element that was used during load. 
- Returns
 - SDF element pointer. The value will be nullptr if Load has not been called. 
 
 
 
◆ Load()
Load the friction based on a element pointer. 
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object. 
- Parameters
 - 
  
  
 
- Returns
 - Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error. 
 
 
 
◆ ODE()
      
        
          | const sdf::ODE* sdf::SDF_VERSION_NAMESPACE::Friction::ODE  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the associated ODE object. 
- Returns
 - Pointer to the associated ODE object, nullptr if the Surface doesn't contain a ODE element. 
 
 
 
◆ SetODE()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::Friction::SetODE  | 
          ( | 
          const sdf::ODE &  | 
          _ode | ) | 
           | 
        
      
 
Set the associated ODE object. 
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: