50 #ifndef OPENMESH_NORMALCONE_HH
51 #define OPENMESH_NORMALCONE_HH
57 #include <OpenMesh/Core/Geometry/VectorT.hh>
58 #include <OpenMesh/Core/Utils/vector_traits.hh>
76 template <
typename Vector>
90 explicit 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_impl.hh"
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
/class NormalCone NormalCone.hh <OpenMesh/Core/Geometry/NormalConeT.hh>
Definition: NormalConeT.hh:78
const Vec3 & center_normal() const
returns center normal
Definition: NormalConeT.hh:102
void merge(const NormalConeT &)
merge _cone; this instance will then enclose both former cones
Definition: NormalConeT_impl.hh:118
Scalar max_angle(const Vec3 &) const
return max. distance (radians) unit vector to cone (distant side)
Definition: NormalConeT_impl.hh:87
Scalar angle() const
returns size of cone (radius in radians)
Definition: NormalConeT.hh:105
NormalConeT()
default constructor (not initialized)
Definition: NormalConeT.hh:87
Helper class providing information about a vector type.
Definition: vector_traits.hh:89