Loading...
Searching...
No Matches
Public Member Functions | List of all members
sdf::SDF_VERSION_NAMESPACE::Contact Class Reference

Contact information for a surface. More...

#include <Surface.hh>

Public Member Functions

 Contact ()
 Default constructor.
 
uint16_t CollideBitmask () const
 Get the collide bitmask parameter.
 
sdf::ElementPtr Element () const
 Get a pointer to the SDF element that was used during load.
 
Errors Load (ElementPtr _sdf)
 Load the contact based on a element pointer.
 
void SetCollideBitmask (const uint16_t _bitmask)
 Set the collide bitmask parameter.
 

Detailed Description

Contact information for a surface.

Constructor & Destructor Documentation

◆ Contact()

sdf::SDF_VERSION_NAMESPACE::Contact::Contact ( )

Default constructor.

Member Function Documentation

◆ CollideBitmask()

uint16_t sdf::SDF_VERSION_NAMESPACE::Contact::CollideBitmask ( ) const

Get the collide bitmask parameter.

Returns
The collide bitmask parameter.

◆ Element()

sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::Contact::Element ( ) const

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()

Errors sdf::SDF_VERSION_NAMESPACE::Contact::Load ( ElementPtr  _sdf)

Load the contact based on a element pointer.

This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.

Parameters
[in]_sdfThe SDF Element pointer
Returns
Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.

◆ SetCollideBitmask()

void sdf::SDF_VERSION_NAMESPACE::Contact::SetCollideBitmask ( const uint16_t  _bitmask)

Set the collide bitmask parameter.


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