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"
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
/class NormalCone NormalCone.hh <ACG/Geometry/Types/NormalCone.hh>
Definition: NormalConeT.hh:83
const Vec3 & center_normal() const
returns center normal
Definition: NormalConeT.hh:107
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:110
NormalConeT()
default constructor (not initialized)
Definition: NormalConeT.hh:92
Helper class providing information about a vector type.
Definition: vector_traits.hh:89