Intersects.h File Reference

Detailed Description

Author
Lukas Werner

Classes

struct  walberla::pe::raytracing::IntersectsFunctor
 

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::pe
 
 walberla::pe::raytracing
 

Functions

bool walberla::pe::raytracing::intersects (const SphereID sphere, const Ray &ray, real_t &t, Vec3 &n)
 
bool walberla::pe::raytracing::intersects (const PlaneID plane, const Ray &ray, real_t &t, Vec3 &n)
 
bool walberla::pe::raytracing::intersects (const BoxID box, const Ray &ray, real_t &t, Vec3 &n)
 
bool walberla::pe::raytracing::intersects (const CapsuleID capsule, const Ray &ray, real_t &t, Vec3 &n)
 
bool walberla::pe::raytracing::intersects (const EllipsoidID ellipsoid, const Ray &ray, real_t &t, Vec3 &n)
 
bool walberla::pe::raytracing::intersects (const BodyID body, const Ray &ray, real_t &t, Vec3 &n)
 
bool walberla::pe::raytracing::intersects (const AABB &aabb, const Ray &ray, real_t &t, real_t padding=real_t(0.0), Vec3 *n=nullptr)
 
bool walberla::pe::raytracing::intersectsSphere (const Vec3 &gpos, real_t radius, const Ray &ray, real_t &t0, real_t &t1)
 

Variables

const real_t walberla::pe::raytracing::discriminantEps = real_t(1e-4)