OpenVDB  6.1.0
Namespaces | Functions
Proximity.h File Reference
#include <openvdb/Types.h>

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::v6_1
 
 openvdb::v6_1::math
 

Functions

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 closest to p and the corresponding barycentric coordinates. More...
 
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 to p and t the parametric distance to b. More...