Skip to content

Class muda::spatial_hash::CollisionPair

ClassList > muda > spatial_hash > CollisionPair

Public Functions

Type Name
MUDA_GENERIC CollisionPair (int i, int j)
MUDA_GENERIC CollisionPair ()
Eigen::Vector2i IDs () const
MUDA_GENERIC bool is_valid () const

Public Static Functions

Type Name
MUDA_GENERIC CollisionPair invalid ()

Public Functions Documentation

function CollisionPair [1/2]

inline MUDA_GENERIC muda::spatial_hash::CollisionPair::CollisionPair (
    int i,
    int j
) 

function CollisionPair [2/2]

inline MUDA_GENERIC muda::spatial_hash::CollisionPair::CollisionPair () 

function IDs

inline Eigen::Vector2i muda::spatial_hash::CollisionPair::IDs () const

function is_valid

inline MUDA_GENERIC bool muda::spatial_hash::CollisionPair::is_valid () const

Public Static Functions Documentation

function invalid

static inline MUDA_GENERIC CollisionPair muda::spatial_hash::CollisionPair::invalid () 

Friends Documentation

friend operator<

inline MUDA_GENERIC friend bool muda::spatial_hash::CollisionPair::operator< (
    const CollisionPair & l,
    const CollisionPair & r
) 

friend operator<<

inline std::ostream & muda::spatial_hash::CollisionPair::operator<< (
    std::ostream & os,
    const CollisionPair & c
) 

friend operator==

inline MUDA_GENERIC friend bool muda::spatial_hash::CollisionPair::operator== (
    const CollisionPair & l,
    const CollisionPair & r
) 


The documentation for this class was generated from the following file src/muda/ext/geo/spatial_hash/collision_pair.h