GitHub link
The Polygon Mesh Processing Library
NormalCone Class Reference

A class implementing a normal cone.

#include <pmp/algorithms/NormalCone.h>

Public Member Functions

 NormalCone ()
 default constructor (not initialized)
 NormalCone (const Normal &normal, Scalar angle=0.0)
 Initialize cone with center (unit vector) and angle (radius in radians)
const Normalcenter_normal () const
 returns center normal
Scalar angle () const
 returns size of cone (radius in radians)
NormalConemerge (const Normal &n)
 merge *this with n.
NormalConemerge (const NormalCone &nc)
 merge *this with nc. *this will then enclose both cones.