The PrincipalCurvature class stores the principal curvature directions and values at a point on a 3D surface.
More...
#include <vclib/space/core/principal_curvature.h>
|
|
using | ScalarType = Scalar |
| | The scalar type of the curvature values.
|
| |
|
| template<typename S > |
| auto | cast () const |
| | Casts the PrincipalCurvature object to a different scalar type.
|
| |
| void | deserialize (std::istream &is) |
| | Deserializes the principal curvature from the given input stream.
|
| |
| Point3< Scalar > & | maxDir () |
| | Returns a reference to the maximum curvature direction.
|
| |
| const Point3< Scalar > & | maxDir () const |
| | Returns a const reference to the maximum curvature direction.
|
| |
| Scalar & | maxValue () |
| | Returns a reference to the maximum curvature value.
|
| |
| const Scalar & | maxValue () const |
| | Returns a const reference to the maximum curvature value.
|
| |
| Point3< Scalar > & | minDir () |
| | Returns a reference to the minimum curvature direction.
|
| |
| const Point3< Scalar > & | minDir () const |
| | Returns a const reference to the minimum curvature direction.
|
| |
| Scalar & | minValue () |
| | Returns a reference to the minimum curvature value.
|
| |
| const Scalar & | minValue () const |
| | Returns a const reference to the minimum curvature value.
|
| |
|
| PrincipalCurvature () |
| | Empty constructor. Directions and values are set to 0.
|
| |
| void | serialize (std::ostream &os) const |
| | Serializes the principal curvature to the given output stream.
|
| |
|
|
Point3< Scalar > | mDir1 |
| |
|
Point3< Scalar > | mDir2 |
| |
|
Scalar | mK1 = 0 |
| |
|
Scalar | mK2 = 0 |
| |
template<
typename Scalar>
class vcl::PrincipalCurvature< Scalar >
The PrincipalCurvature class stores the principal curvature directions and values at a point on a 3D surface.
It stores the two principal curvature directions (maxDir() and minDir(), also note as k1 and k2 respectively) and the maximum and minimum values of the curvature (maxValue() and minValue()).
- Template Parameters
-
| Scalar | The scalar type of the curvature values. |
◆ cast()
Casts the PrincipalCurvature object to a different scalar type.
The function returns a new PrincipalCurvature object with each scalar value casted to a different type.
- Template Parameters
-
| S | The scalar type to cast to. |
- Returns
- A new PrincipalCurvature object with each scalar value casted to a different type.
◆ deserialize()
Deserializes the principal curvature from the given input stream.
- Parameters
-
◆ maxDir() [1/2]
Returns a reference to the maximum curvature direction.
- Returns
- A reference to the maximum curvature direction.
◆ maxDir() [2/2]
Returns a const reference to the maximum curvature direction.
- Returns
- A const reference to the maximum curvature direction.
◆ maxValue() [1/2]
Returns a reference to the maximum curvature value.
- Returns
- A reference to the maximum curvature value.
◆ maxValue() [2/2]
Returns a const reference to the maximum curvature value.
- Returns
- A const reference to the maximum curvature value.
◆ minDir() [1/2]
Returns a reference to the minimum curvature direction.
- Returns
- A reference to the minimum curvature direction.
◆ minDir() [2/2]
Returns a const reference to the minimum curvature direction.
- Returns
- A const reference to the minimum curvature direction.
◆ minValue() [1/2]
Returns a reference to the minimum curvature value.
- Returns
- A reference to the minimum curvature value.
◆ minValue() [2/2]
Returns a const reference to the minimum curvature value.
- Returns
- A const reference to the minimum curvature value.
◆ serialize()
Serializes the principal curvature to the given output stream.
- Parameters
-
The documentation for this class was generated from the following file: