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>
76template <
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"
void merge(const NormalConeT &)
merge _cone; this instance will then enclose both former cones
Scalar max_angle(const Vec3 &) const
return max. distance (radians) unit vector to cone (distant side)
Scalar angle() const
returns size of cone (radius in radians)
const Vec3 & center_normal() const
returns center normal
NormalConeT()
default constructor (not initialized)