Friction information for a surface.  
 More...
#include <Surface.hh>
Friction information for a surface. 
◆ Friction()
      
        
          | sdf::v12::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::v12::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::v12::Friction::SetODE | ( | const sdf::ODE & | _ode | ) |  | 
      
 
Set the associated ODE object. 
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following file: