Loading...
Searching...
No Matches
ColliderSet.hpp
Go to the documentation of this file.
Definition Array.hpp:36
const std::shared_ptr< Surface< N > > & GetSurface() const
Returns the surface instance.
void SetSurface(const std::shared_ptr< Surface< N > > &newSurface)
Assigns the surface instance from the subclass.
Front-end to create ColliderSet objects step by step.
Definition ColliderSet.hpp:76
Builder & WithColliders(const ConstArrayView1< std::shared_ptr< Collider< N > > > &others)
Returns builder with other colliders.
std::shared_ptr< ColliderSet< N > > MakeShared() const
Builds shared pointer of ColliderSet instance.
size_t NumberOfColliders() const
Returns number of colliders.
Vector< double, N > VelocityAt(const Vector< double, N > &point) const override
Returns the velocity of the collider at given point.
ColliderSet(const ConstArrayView1< std::shared_ptr< Collider< N > > > &others)
Constructs with other colliders.
std::shared_ptr< Collider< N > > GetCollider(size_t i) const
Returns collider at index i.
void AddCollider(const std::shared_ptr< Collider< N > > &collider)
Adds a collider to the set.
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< ColliderSet2 > ColliderSet2Ptr
Shared pointer for the ColliderSet2 type.
Definition ColliderSet.hpp:66
std::shared_ptr< ColliderSet3 > ColliderSet3Ptr
Shared pointer for the ColliderSet3 type.
Definition ColliderSet.hpp:69
1.9.8