52 #ifndef OPENMESH_NORMALCONE_HH
53 #define OPENMESH_NORMALCONE_HH
59 #include <OpenMesh/Core/Geometry/VectorT.hh>
77 template <
typename Scalar>
90 NormalConeT(
const Vec3& _center_normal, Scalar _angle=0.0);
105 inline Scalar
angle()
const {
return angle_; }
117 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_NORMALCONE_C)
118 #define OPENMESH_NORMALCONE_TEMPLATES
119 #include "NormalConeT.cc"
122 #endif // OPENMESH_NORMALCONE_HH defined
Scalar max_angle(const Vec3 &) const
return max. distance (radians) unit vector to cone (distant side)
Definition: NormalConeT.cc:89
void merge(const NormalConeT &)
merge _cone; this instance will then enclose both former cones
Definition: NormalConeT.cc:120
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:56
/class NormalCone NormalCone.hh
Definition: NormalConeT.hh:78
const Vec3 & center_normal() const
returns center normal
Definition: NormalConeT.hh:102
NormalConeT()
default constructor (not initialized)
Definition: NormalConeT.hh:87
Scalar angle() const
returns size of cone (radius in radians)
Definition: NormalConeT.hh:105