aether::collision Namespace Reference

Classes

struct  AABB
 
struct  capsule
 
class  collision_result
 
class  detector
 
struct  dimension_traits
 
struct  dimension_traits< 3 >
 
struct  ray
 
struct  segment
 
struct  sphere
 

Typedefs

using point = Eigen::Vector3f
 
using inertia = Eigen::Matrix3f
 

Functions

float squared_distance (const segment &s0, const segment &s1)
 
float squared_distance (const ray &r, const segment &s)
 
float squared_distance (const point &p, const ray &r)
 
float squared_distance (const point &p, const segment &s)
 
float squared_distance (const point &p0, const point &p1)
 
bool intersection (const capsule &c0, const capsule &c1)
 
bool intersection (const ray &r, const sphere &s)
 
bool intersection (const ray &r, const capsule &c)
 
bool intersection (const point &p, const capsule &c)
 
bool intersection (const sphere &s, const capsule &c)
 
bool intersection (const sphere &s0, const sphere &s1)
 
bool intersection (const point &p, const sphere &s)
 

Typedef Documentation

using aether::collision::inertia = typedef Eigen::Matrix3f
using aether::collision::point = typedef Eigen::Vector3f

Function Documentation

bool aether::collision::intersection ( const capsule c0,
const capsule c1 
)
bool aether::collision::intersection ( const ray r,
const sphere s 
)
bool aether::collision::intersection ( const ray r,
const capsule c 
)
bool aether::collision::intersection ( const point p,
const capsule c 
)
bool aether::collision::intersection ( const sphere s,
const capsule c 
)
bool aether::collision::intersection ( const sphere s0,
const sphere s1 
)
bool aether::collision::intersection ( const point p,
const sphere s 
)
float aether::collision::squared_distance ( const segment s0,
const segment s1 
)
float aether::collision::squared_distance ( const ray r,
const segment s 
)
float aether::collision::squared_distance ( const point p,
const ray r 
)
float aether::collision::squared_distance ( const point p,
const segment s 
)
float aether::collision::squared_distance ( const point p0,
const point p1 
)