OpenVDB: openvdb/math/Proximity.h File Reference

OpenVDB 10.0.1

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

Go to the source code of this file.

## Namespaces
namespace | openvdb
namespace | openvdb::v10_0
namespace | openvdb::v10_0::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...