OpenVDB  7.0.0
Proximity.h
Go to the documentation of this file.
1 // Copyright Contributors to the OpenVDB Project
2 // SPDX-License-Identifier: MPL-2.0
3 
4 #ifndef OPENVDB_MATH_PROXIMITY_HAS_BEEN_INCLUDED
5 #define OPENVDB_MATH_PROXIMITY_HAS_BEEN_INCLUDED
6 
7 #include <openvdb/Types.h>
8 
9 
10 namespace openvdb {
12 namespace OPENVDB_VERSION_NAME {
13 namespace math {
14 
30  const Vec3d& a, const Vec3d& b, const Vec3d& c, const Vec3d& p, Vec3d& uvw);
31 
32 
42  const Vec3d& a, const Vec3d& b, const Vec3d& p, double& t);
43 
44 } // namespace math
45 } // namespace OPENVDB_VERSION_NAME
46 } // namespace openvdb
47 
48 #endif // OPENVDB_TOOLS_MESH_TO_VOLUME_UTIL_HAS_BEEN_INCLUDED
#define OPENVDB_API
Helper macros for defining library symbol visibility.
Definition: Platform.h:230
Vec3< double > Vec3d
Definition: Vec3.h:662
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:102
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...
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 ...
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:154