Blender  V3.3
Functions | Variables
BPy_CurveNatureF1D.cpp File Reference
#include "BPy_CurveNatureF1D.h"
#include "../../../view_map/Functions1D.h"
#include "../../BPy_Convert.h"
#include "../../BPy_IntegrationType.h"

Go to the source code of this file.

Functions

static int CurveNatureF1D___init__ (BPy_CurveNatureF1D *self, PyObject *args, PyObject *kwds)
 

Variables

static char CurveNatureF1D___doc__ []
 
PyTypeObject CurveNatureF1D_Type
 

Function Documentation

◆ CurveNatureF1D___init__()

static int CurveNatureF1D___init__ ( BPy_CurveNatureF1D self,
PyObject *  args,
PyObject *  kwds 
)
static

Variable Documentation

◆ CurveNatureF1D___doc__

char CurveNatureF1D___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
":class:`freestyle.types.UnaryFunction1DEdgeNature` > :class:`CurveNatureF1D`\n"
"\n"
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
"\n"
" Builds a CurveNatureF1D object.\n"
"\n"
" :arg integration_type: The integration method used to compute a single value\n"
" from a set of values.\n"
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
"\n"
".. method:: __call__(inter)\n"
"\n"
" Returns the nature of the Interface1D (silhouette, ridge, crease, and\n"
" so on). Except if the Interface1D is a\n"
" :class:`freestyle.types.ViewEdge`, this result might be ambiguous.\n"
" Indeed, the Interface1D might result from the gathering of several 1D\n"
" elements, each one being of a different nature. An integration\n"
" method, such as the MEAN, might give, in this case, irrelevant\n"
" results.\n"
"\n"
" :arg inter: An Interface1D object.\n"
" :type inter: :class:`freestyle.types.Interface1D`\n"
" :return: The nature of the Interface1D.\n"
" :rtype: :class:`freestyle.types.Nature`\n"

Definition at line 23 of file BPy_CurveNatureF1D.cpp.

◆ CurveNatureF1D_Type

PyTypeObject CurveNatureF1D_Type

Definition at line 66 of file BPy_CurveNatureF1D.cpp.

Referenced by UnaryFunction1DEdgeNature_Init().