waLBerla 7.2
|
Utility functions for geometrical calculations.
Namespaces | |
namespace | walberla |
Storage for detected contacts which can be used to perform actions for all contacts, e.g. | |
namespace | walberla::geometry |
Functions | |
Geometry functions | |
void | walberla::geometry::getClosestLineBoxPoints (const Vector3< real_t > &p1, const Vector3< real_t > &p2, const Vector3< real_t > &c, const Matrix3< real_t > &R, const Vector3< real_t > &side, Vector3< real_t > &lret, Vector3< real_t > &bret) |
Find the closest points on a box and a line segment. | |
void | walberla::geometry::getClosestLineSegmentPoints (const Vector3< real_t > &a1, const Vector3< real_t > &a2, const Vector3< real_t > &b1, const Vector3< real_t > &b2, Vector3< real_t > &cp1, Vector3< real_t > &cp2) |
Find the closest points on two line segments. | |
void | walberla::geometry::intersectLines (const Vector3< real_t > &o1, const Vector3< real_t > &d1, const Vector3< real_t > &o2, const Vector3< real_t > &d2, real_t &s, real_t &t) |
Find the intersection point or the point of the closest approach between two straight. | |