Go to the documentation of this file.
17 #ifndef SDF_SURFACE_HH_
18 #define SDF_SURFACE_HH_
22 #include "sdf/sdf_config.h"
28 inline namespace SDF_VERSION_NAMESPACE {
83 private: ContactPrivate *dataPtr;
137 private: SurfacePrivate *dataPtr;
Surface & operator=(Surface &&_surface)
Move assignment operator.
namespace for Simulation Description Format parser
Definition: Actor.hh:33
Errors Load(ElementPtr _sdf)
Load the surface based on a element pointer.
Surface(const Surface &_surface)
Copy constructor.
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
sdf::Contact * Contact() const
Get the associated contact object.
Surface(Surface &&_surface) noexcept
Move constructor.
Surface & operator=(const Surface &_surface)
Copy assignment operator.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
Surface information for a collision.
Definition: Surface.hh:88
Surface()
Default constructor.
void SetContact(const sdf::Contact &_contact)
Set the associated contact object.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.