ColliderSet.hpp
Go to the documentation of this file.
std::shared_ptr< ColliderSet3 > ColliderSet3Ptr
Shared pointer for the ColliderSet3 type.
Definition: ColliderSet.hpp:69
std::shared_ptr< Collider< N > > GetCollider(size_t i) const
Returns collider at index i.
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
Definition: Array-Impl.hpp:19
size_t NumberOfColliders() const
Returns number of colliders.
Front-end to create ColliderSet objects step by step.
Definition: ColliderSet.hpp:75
std::shared_ptr< ColliderSet2 > ColliderSet2Ptr
Shared pointer for the ColliderSet2 type.
Definition: ColliderSet.hpp:66
Vector< double, N > VelocityAt(const Vector< double, N > &point) const override
Returns the velocity of the collider at given point.
void AddCollider(const std::shared_ptr< Collider< N >> &collider)
Adds a collider to the set.