55 #ifndef OPENMESH_NORMALCONE_HH 56 #define OPENMESH_NORMALCONE_HH 62 #include <OpenMesh/Core/Geometry/VectorT.hh> 63 #include <OpenMesh/Core/Utils/vector_traits.hh> 81 template <
typename Vector>
95 NormalConeT(
const Vec3& _center_normal, Scalar _angle=0.0);
110 inline Scalar
angle()
const {
return angle_; }
122 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_NORMALCONE_C) 123 #define OPENMESH_NORMALCONE_TEMPLATES 124 #include "NormalConeT_impl.hh" 127 #endif // OPENMESH_NORMALCONE_HH defined Scalar max_angle(const Vec3 &) const
return max. distance (radians) unit vector to cone (distant side)
void merge(const NormalConeT &)
merge _cone; this instance will then enclose both former cones
const Vec3 & center_normal() const
returns center normal
Scalar angle() const
returns size of cone (radius in radians)
NormalConeT()
default constructor (not initialized)