58 #ifndef OPENMESH_PLANE3D_HH 59 #define OPENMESH_PLANE3D_HH 64 #include <OpenMesh/Core/Geometry/VectorT.hh> 87 typedef OpenMesh::Vec3f vector_type;
88 typedef vector_type::value_type value_type;
96 Plane3d(
const vector_type &_dir,
const vector_type &_pnt)
103 value_type signed_distance(
const OpenMesh::Vec3f &_p)
105 return dot(n_ , _p) + d_;
109 value_type singed_distance(
const OpenMesh::Vec3f &point)
110 {
return signed_distance( point ); }
123 #endif // OPENMESH_PLANE3D_HH defined osg::Vec3f::ValueType dot(const osg::Vec3f &_v1, const osg::Vec3f &_v2)
Adapter for osg vector member computing a scalar product.
Definition: VectorAdapter.hh:181
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
ax + by + cz + d = 0
Definition: Plane3d.hh:83