MEPP2 Project
|
#include "FEVV/Tools/Math/MatrixOperations.hpp"
Go to the source code of this file.
Namespaces | |
FEVV | |
Interfaces for plugins These interfaces will be used for different plugins. | |
FEVV::Operators | |
FEVV::Operators::Geometry | |
Functions | |
template<typename GeometryTraits > | |
static bool | FEVV::Operators::Geometry::sphere_clip_vector (const typename GeometryTraits::Point ¢er, double r, const typename GeometryTraits::Point &p, typename GeometryTraits::Vector &v, const GeometryTraits >) |
Compute the intersection of a sphere (center + radius) with a ray/line (starting point + direction vector). Sphere equation is given by (x-Cx)^2+(y-Cy)^2+(z-Cz)^2=r^2 Line equation is given by (x, y, z) = p + txV. More... | |