49 #ifndef OPENMESH_PLANE3D_HH
50 #define OPENMESH_PLANE3D_HH
55 #include <OpenMesh/Core/Geometry/VectorT.hh>
78 typedef OpenMesh::Vec3f vector_type;
79 typedef vector_type::value_type value_type;
87 Plane3d(
const vector_type &_dir,
const vector_type &_pnt)
94 value_type signed_distance(
const OpenMesh::Vec3f &_p)
96 return dot(n_ , _p) + d_;
100 value_type singed_distance(
const OpenMesh::Vec3f &point)
101 {
return signed_distance( point ); }
114 #endif // OPENMESH_PLANE3D_HH defined
ax + by + cz + d = 0
Definition: Plane3d.hh:74
osg::Vec3f::ValueType dot(const osg::Vec3f &_v1, const osg::Vec3f &_v2)
Adapter for osg vector member computing a scalar product.
Definition: VectorAdapter.hh:174
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:56