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
Scalar angle() const
returns size of cone (radius in radians)
Definition: NormalConeT.hh:113
const Vec3 & center_normal() const
returns center normal
Definition: NormalConeT.hh:110
/class NormalCone NormalCone.hh
Definition: NormalConeT.hh:86
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
Scalar max_angle(const Vec3 &) const
return max. distance (radians) unit vector to cone (distant side)
Definition: NormalConeT.cc:97
void merge(const NormalConeT &)
merge _cone; this instance will then enclose both former cones
Definition: NormalConeT.cc:128
NormalConeT()
default constructor (not initialized)
Definition: NormalConeT.hh:95