4 #ifndef OPENVDB_MATH_PROXIMITY_HAS_BEEN_INCLUDED 5 #define OPENVDB_MATH_PROXIMITY_HAS_BEEN_INCLUDED 30 const Vec3d& a,
const Vec3d& b,
const Vec3d& c,
const Vec3d& p, Vec3d& uvw);
42 const Vec3d& a,
const Vec3d& b,
const Vec3d& p,
double& t);
48 #endif // OPENVDB_TOOLS_MESH_TO_VOLUME_UTIL_HAS_BEEN_INCLUDED
OPENVDB_API Vec3d closestPointOnSegmentToPoint(const Vec3d &a, const Vec3d &b, const Vec3d &p, double &t)
Closest Point on Line Segment to Point. Given segment ab and point p, return the point on ab closest ...
Vec3< double > Vec3d
Definition: Vec3.h:665
Definition: Exceptions.h:13
OPENVDB_API Vec3d closestPointOnTriangleToPoint(const Vec3d &a, const Vec3d &b, const Vec3d &c, const Vec3d &p, Vec3d &uvw)
Closest Point on Triangle to Point. Given a triangle abc and a point p, return the point on abc close...
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:121
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:218