18 #ifndef GZ_PHYSICS_WORLD_HH_
19 #define GZ_PHYSICS_WORLD_HH_
34 public:
template <
typename PolicyT,
typename FeaturesT>
39 public:
void SetCollisionDetector(
44 public:
const std::string &GetCollisionDetector()
const;
48 public:
template <
typename PolicyT>
54 public:
virtual void SetWorldCollisionDetector(
55 const Identity &_id,
const std::string &_collisionDetector) = 0;
60 public:
virtual const std::string &GetWorldCollisionDetector(
61 const Identity &_id)
const = 0;
75 public:
template <
typename PolicyT,
typename FeaturesT>
96 public:
void SetGravity(
111 public:
template <
typename PolicyT>
121 public:
virtual void SetWorldGravity(
129 const Identity &_id)
const = 0;
139 public:
template <
typename PolicyT,
typename FeaturesT>
145 public:
void SetCollisionPairMaxContacts(
std::size_t _maxContacts);
150 public:
std::size_t GetCollisionPairMaxContacts()
const;
154 public:
template <
typename PolicyT>
161 public:
virtual void SetWorldCollisionPairMaxContacts(
162 const Identity &_id,
std::size_t _maxContacts) = 0;
168 public:
virtual std::size_t GetWorldCollisionPairMaxContacts(
169 const Identity &_id)
const = 0;
177 public:
template <
typename PolicyT,
typename FeaturesT>
182 public:
void SetSolver(
const std::string &_solver);
190 public:
template <
typename PolicyT>
196 public:
virtual void SetWorldSolver(
197 const Identity &_id,
const std::string &_solver) = 0;
203 const Identity &_id)
const = 0;
209 #include <gz/physics/detail/World.hh>