60 #ifndef OPENMESH_NORMALCONE_HH 61 #define OPENMESH_NORMALCONE_HH 67 #include <OpenMesh/Core/Geometry/VectorT.hh> 85 template <
typename Scalar>
98 NormalConeT(
const Vec3& _center_normal, Scalar _angle=0.0);
113 inline Scalar
angle()
const {
return angle_; }
125 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_NORMALCONE_C) 126 #define OPENMESH_NORMALCONE_TEMPLATES 127 #include "NormalConeT.cc" 130 #endif // OPENMESH_NORMALCONE_HH defined
void merge(const NormalConeT &)
merge _cone; this instance will then enclose both former cones
NormalConeT()
default constructor (not initialized)
Scalar angle() const
returns size of cone (radius in radians)
const Vec3 & center_normal() const
returns center normal
Scalar max_angle(const Vec3 &) const
return max. distance (radians) unit vector to cone (distant side)