Easy3D 2.5.3
|
A class implementing a normal cone. More...
#include <surface_mesh_simplification.h>
Public Member Functions | |
NormalCone ()=default | |
default constructor (not initialized) | |
NormalCone (const vec3 &normal, float angle=0.0) | |
Initialize cone with center (unit vector) and angle (radius in radians) | |
const vec3 & | center_normal () const |
returns center normal | |
float | angle () const |
returns size of cone (radius in radians) | |
NormalCone & | merge (const vec3 &n) |
merge *this with n. | |
NormalCone & | merge (const NormalCone &nc) |
merge *this with nc. *this will then enclose both cones. | |
A class implementing a normal cone.