Blender V5.0
Freestyle::Functions1D::Curvature2DAngleF1D Class Reference

#include <Functions1D.h>

Inherits Freestyle::UnaryFunction1D< double >.

Public Member Functions

 Curvature2DAngleF1D (IntegrationType iType=MEAN)
string getName () const
int operator() (Interface1D &inter)
Public Member Functions inherited from Freestyle::UnaryFunction1D< double >
 UnaryFunction1D ()
virtual ~UnaryFunction1D ()
void setIntegrationType (IntegrationType integration)
IntegrationType getIntegrationType () const

Additional Inherited Members

Public Types inherited from Freestyle::UnaryFunction1D< double >
typedef double ReturnedValueType
Public Attributes inherited from Freestyle::UnaryFunction1D< double >
double result
void * py_uf1D
Protected Attributes inherited from Freestyle::UnaryFunction1D< double >
IntegrationType _integration

Detailed Description

Returns the 2D curvature as an angle for an Interface1D.

Definition at line 468 of file Functions1D.h.

Constructor & Destructor Documentation

◆ Curvature2DAngleF1D()

Freestyle::Functions1D::Curvature2DAngleF1D::Curvature2DAngleF1D ( IntegrationType iType = MEAN)
inline

Builds the functor.

Parameters
iTypeThe integration method used to compute a single value from a set of values.

Definition at line 474 of file Functions1D.h.

References Freestyle::MEAN, and Freestyle::UnaryFunction1D< double >::UnaryFunction1D().

Member Function Documentation

◆ getName()

string Freestyle::Functions1D::Curvature2DAngleF1D::getName ( ) const
inlinevirtual

Returns the string "Curvature2DAngleF1D"

Reimplemented from Freestyle::UnaryFunction1D< double >.

Definition at line 477 of file Functions1D.h.

◆ operator()()

int Freestyle::Functions1D::Curvature2DAngleF1D::operator() ( Interface1D & inter)
inlinevirtual

The documentation for this class was generated from the following file: