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