Classes | |
struct | intersc |
struct | interscOrder |
Functions | |
static double | distanceSQR (const Eigen::Vector3d &p, const Eigen::Vector3d &origin, const Eigen::Vector3d &dir) |
Compute the square of the distance between a ray and a point Note: this requires 'dir' to be normalized. More... | |
void | filterIntersections (std::vector< detail::intersc > &ipts, EigenSTL::vector_Vector3d *intersections, const size_t count) |
Take intersections points in ipts and add them to intersections, filtering duplicates. More... | |
Variables | |
static const double | ZERO = 1e-9 |
|
inlinestatic |
Compute the square of the distance between a ray and a point Note: this requires 'dir' to be normalized.
Definition at line 127 of file bodies.cpp.
void bodies::detail::filterIntersections | ( | std::vector< detail::intersc > & | ipts, |
EigenSTL::vector_Vector3d * | intersections, | ||
const size_t | count | ||
) |
Take intersections points in ipts and add them to intersections, filtering duplicates.
ipts | The source list of intersections (will be modified (sorted)). |
intersections | The output list of intersection points. |
count | The maximum count of returned intersection points. 0 = return all points. |
Definition at line 162 of file bodies.cpp.
|
static |
Definition at line 123 of file bodies.cpp.