Developer Documentation
|
#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Geometry/NormalConeT.hh>
Public Types | |
typedef vector_traits< Vector >::value_type | Scalar |
typedef Vector | Vec3 |
Public Member Functions | |
NormalConeT () | |
default constructor (not initialized) More... | |
NormalConeT (const Vec3 &_center_normal, Scalar _angle=0.0) | |
Initialize cone with center (unit vector) and angle (radius in radians) More... | |
Scalar | max_angle (const Vec3 &) const |
return max. distance (radians) unit vector to cone (distant side) More... | |
Scalar | max_angle (const NormalConeT &) const |
return max. distance (radians) cone to cone (distant sides) More... | |
void | merge (const NormalConeT &) |
merge _cone; this instance will then enclose both former cones More... | |
const Vec3 & | center_normal () const |
returns center normal More... | |
Scalar | angle () const |
returns size of cone (radius in radians) More... | |
Private Attributes | |
Vec3 | center_normal_ |
Scalar | angle_ |
/class NormalCone NormalCone.hh <OpenMesh/Core/Geometry/NormalConeT.hh>
NormalCone that can be merged with other normal cones. Provides the center normal and the opening angle.
Definition at line 77 of file NormalConeT.hh.
typedef vector_traits<Vector>::value_type OpenMesh::NormalConeT< Vector >::Scalar |
Definition at line 82 of file NormalConeT.hh.
typedef Vector OpenMesh::NormalConeT< Vector >::Vec3 |
Definition at line 83 of file NormalConeT.hh.
|
inline |
default constructor (not initialized)
Definition at line 87 of file NormalConeT.hh.
|
explicit |
Initialize cone with center (unit vector) and angle (radius in radians)
Definition at line 74 of file NormalConeT_impl.hh.
|
inline |
returns size of cone (radius in radians)
Definition at line 105 of file NormalConeT.hh.
|
inline |
returns center normal
Definition at line 102 of file NormalConeT.hh.
NormalConeT< Vector >::Scalar OpenMesh::NormalConeT< Vector >::max_angle | ( | const NormalConeT< Vector > & | _cone | ) | const |
return max. distance (radians) cone to cone (distant sides)
Definition at line 100 of file NormalConeT_impl.hh.
NormalConeT< Vector >::Scalar OpenMesh::NormalConeT< Vector >::max_angle | ( | const Vec3 & | _norm | ) | const |
return max. distance (radians) unit vector to cone (distant side)
Definition at line 86 of file NormalConeT_impl.hh.
void OpenMesh::NormalConeT< Vector >::merge | ( | const NormalConeT< Vector > & | _cone | ) |
merge _cone; this instance will then enclose both former cones
Definition at line 117 of file NormalConeT_impl.hh.
|
private |
Definition at line 110 of file NormalConeT.hh.
|
private |
Definition at line 109 of file NormalConeT.hh.