Contact information for a surface.
More...
#include <Surface.hh>
Contact information for a surface.
◆ Contact() [1/3]
sdf::v10::Contact::Contact |
( |
| ) |
|
◆ Contact() [2/3]
sdf::v10::Contact::Contact |
( |
const Contact & |
_contact | ) |
|
Copy constructor.
- Parameters
-
◆ Contact() [3/3]
sdf::v10::Contact::Contact |
( |
Contact && |
_contact | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~Contact()
sdf::v10::Contact::~Contact |
( |
| ) |
|
◆ CollideBitmask()
uint16_t sdf::v10::Contact::CollideBitmask |
( |
| ) |
const |
Get the collide bitmask parameter.
- Returns
- The collide bitmask parameter.
◆ 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 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
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
- Returns
- Reference to this.
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
- Returns
- Reference to this.
◆ SetCollideBitmask()
void sdf::v10::Contact::SetCollideBitmask |
( |
const uint16_t |
_bitmask | ) |
|
Set the collide bitmask parameter.
The documentation for this class was generated from the following file: