Blender V5.0
BPy_FEdge.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (FEdge_doc, "Class hierarchy: :class:`Interface1D` > :class:`FEdge`\n" "\n" "Base Class for feature edges. This FEdge can represent a silhouette,\n" "a crease, a ridge/valley, a border or a suggestive contour. For\n" "silhouettes, the FEdge is oriented so that the visible face lies on\n" "the left of the edge. For borders, the FEdge is oriented so that the\n" "face lies on the left of the edge. An FEdge can represent an initial\n" "edge of the mesh or runs across a face of the initial mesh depending\n" "on the smoothness or sharpness of the mesh. This class is specialized\n" "into a smooth and a sharp version since their properties slightly vary\n" "from one to the other.\n" "\n" ".. method:: FEdge()\n" " FEdge(brother)\n" "\n" " Builds an :class:`FEdge` using the default constructor,\n" " copy constructor, or between two :class:`SVertex` objects.\n" "\n" " :arg brother: An FEdge object.\n" " :type brother: :class:`FEdge`\n" " :arg first_vertex: The first SVertex.\n" " :type first_vertex: :class:`SVertex`\n" " :arg second_vertex: The second SVertex.\n" " :type second_vertex: :class:`SVertex`\n")
static int FEdge_init (BPy_FEdge *self, PyObject *args, PyObject *kwds)
static Py_ssize_t FEdge_sq_length (BPy_FEdge *)
static PyObject * FEdge_sq_item (BPy_FEdge *self, Py_ssize_t keynum)
 PyDoc_STRVAR (FEdge_first_svertex_doc, "The first SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n")
static PyObject * FEdge_first_svertex_get (BPy_FEdge *self, void *)
static int FEdge_first_svertex_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_second_svertex_doc, "The second SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n")
static PyObject * FEdge_second_svertex_get (BPy_FEdge *self, void *)
static int FEdge_second_svertex_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_next_fedge_doc, "The FEdge following this one in the ViewEdge. The value is None if\n" "this FEdge is the last of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n")
static PyObject * FEdge_next_fedge_get (BPy_FEdge *self, void *)
static int FEdge_next_fedge_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_previous_fedge_doc, "The FEdge preceding this one in the ViewEdge. The value is None if\n" "this FEdge is the first one of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n")
static PyObject * FEdge_previous_fedge_get (BPy_FEdge *self, void *)
static int FEdge_previous_fedge_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_viewedge_doc, "The ViewEdge to which this FEdge belongs to.\n" "\n" ":type: :class:`ViewEdge`\n")
static PyObject * FEdge_viewedge_get (BPy_FEdge *self, void *)
static int FEdge_viewedge_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_is_smooth_doc, "True if this FEdge is a smooth FEdge.\n" "\n" ":type: bool\n")
static PyObject * FEdge_is_smooth_get (BPy_FEdge *self, void *)
static int FEdge_is_smooth_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_id_doc, "The Id of this FEdge.\n" "\n" ":type: :class:`Id`\n")
static PyObject * FEdge_id_get (BPy_FEdge *self, void *)
static int FEdge_id_set (BPy_FEdge *self, PyObject *value, void *)
 PyDoc_STRVAR (FEdge_nature_doc, "The nature of this FEdge.\n" "\n" ":type: :class:`Nature`\n")
static PyObject * FEdge_nature_get (BPy_FEdge *self, void *)
static int FEdge_nature_set (BPy_FEdge *self, PyObject *value, void *)

Variables

static PySequenceMethods BPy_FEdge_as_sequence
static PyGetSetDef BPy_FEdge_getseters []
PyTypeObject FEdge_Type

Function Documentation

◆ FEdge_first_svertex_get()

PyObject * FEdge_first_svertex_get ( BPy_FEdge * self,
void *  )
static

Definition at line 123 of file BPy_FEdge.cpp.

References A, BPy_SVertex_from_SVertex(), and self.

◆ FEdge_first_svertex_set()

int FEdge_first_svertex_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 132 of file BPy_FEdge.cpp.

References BPy_SVertex_Check, and self.

◆ FEdge_id_get()

PyObject * FEdge_id_get ( BPy_FEdge * self,
void *  )
static

Definition at line 271 of file BPy_FEdge.cpp.

References BPy_Id_from_Id(), and self.

◆ FEdge_id_set()

int FEdge_id_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 277 of file BPy_FEdge.cpp.

References BPy_Id_Check, and self.

◆ FEdge_init()

int FEdge_init ( BPy_FEdge * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 50 of file BPy_FEdge.cpp.

References FEdge_Type, self, and SVertex_Type.

◆ FEdge_is_smooth_get()

PyObject * FEdge_is_smooth_get ( BPy_FEdge * self,
void *  )
static

Definition at line 250 of file BPy_FEdge.cpp.

References PyBool_from_bool(), and self.

◆ FEdge_is_smooth_set()

int FEdge_is_smooth_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 255 of file BPy_FEdge.cpp.

References bool_from_PyBool(), and self.

◆ FEdge_nature_get()

PyObject * FEdge_nature_get ( BPy_FEdge * self,
void *  )
static

Definition at line 293 of file BPy_FEdge.cpp.

References BPy_Nature_from_Nature(), and self.

◆ FEdge_nature_set()

int FEdge_nature_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 298 of file BPy_FEdge.cpp.

References BPy_Nature_Check, i, and self.

◆ FEdge_next_fedge_get()

PyObject * FEdge_next_fedge_get ( BPy_FEdge * self,
void *  )
static

Definition at line 174 of file BPy_FEdge.cpp.

References Any_BPy_FEdge_from_FEdge(), and self.

◆ FEdge_next_fedge_set()

int FEdge_next_fedge_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 183 of file BPy_FEdge.cpp.

References BPy_FEdge_Check, and self.

◆ FEdge_previous_fedge_get()

PyObject * FEdge_previous_fedge_get ( BPy_FEdge * self,
void *  )
static

Definition at line 200 of file BPy_FEdge.cpp.

References Any_BPy_FEdge_from_FEdge(), and self.

◆ FEdge_previous_fedge_set()

int FEdge_previous_fedge_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 209 of file BPy_FEdge.cpp.

References BPy_FEdge_Check, and self.

◆ FEdge_second_svertex_get()

PyObject * FEdge_second_svertex_get ( BPy_FEdge * self,
void *  )
static

Definition at line 148 of file BPy_FEdge.cpp.

References B, BPy_SVertex_from_SVertex(), and self.

◆ FEdge_second_svertex_set()

int FEdge_second_svertex_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 157 of file BPy_FEdge.cpp.

References BPy_SVertex_Check, and self.

◆ FEdge_sq_item()

PyObject * FEdge_sq_item ( BPy_FEdge * self,
Py_ssize_t keynum )
static

Definition at line 86 of file BPy_FEdge.cpp.

References BPy_SVertex_from_SVertex(), ELEM, FEdge_sq_length(), self, and v.

◆ FEdge_sq_length()

Py_ssize_t FEdge_sq_length ( BPy_FEdge * )
static

Definition at line 81 of file BPy_FEdge.cpp.

Referenced by FEdge_sq_item().

◆ FEdge_viewedge_get()

PyObject * FEdge_viewedge_get ( BPy_FEdge * self,
void *  )
static

Definition at line 225 of file BPy_FEdge.cpp.

References BPy_ViewEdge_from_ViewEdge(), and self.

◆ FEdge_viewedge_set()

int FEdge_viewedge_set ( BPy_FEdge * self,
PyObject * value,
void *  )
static

Definition at line 234 of file BPy_FEdge.cpp.

References BPy_ViewEdge_Check, and self.

◆ PyDoc_STRVAR() [1/9]

PyDoc_STRVAR ( FEdge_doc ,
"Class hierarchy: :class:`Interface1D` ,
:class:`FEdge`\n" "\n" "Base Class for feature edges. This FEdge can represent a silhouette,
\n" "a crease,
a ridge/ valley,
a border or a suggestive contour. For\n" " silhouettes,
the FEdge is oriented so that the visible face lies on\n" "the left of the edge. For borders,
the FEdge is oriented so that the\n" "face lies on the left of the edge. An FEdge can represent an initial\n" "edge of the mesh or runs across a face of the initial mesh depending\n" "on the smoothness or sharpness of the mesh. This class is specialized\n" "into a smooth and a sharp version since their properties slightly vary\n" "from one to the other.\n" "\n" ".. method::FEdge()\n" " FEdge(brother)\n" "\n" " Builds an :class:`FEdge` using the default constructor,
\n" " copy constructor,
or between two :class:`SVertex` objects.\n" "\n" " :arg brother:An FEdge object.\n" " :type brother::class:`FEdge`\n" " :arg first_vertex:The first SVertex.\n" " :type first_vertex::class:`SVertex`\n" " :arg second_vertex:The second SVertex.\n" " :type second_vertex::class:`SVertex`\n"  )

◆ PyDoc_STRVAR() [2/9]

PyDoc_STRVAR ( FEdge_first_svertex_doc ,
"The first SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n"  )

◆ PyDoc_STRVAR() [3/9]

PyDoc_STRVAR ( FEdge_id_doc ,
"The Id of this FEdge.\n" "\n" ":type: :class:`Id`\n"  )

◆ PyDoc_STRVAR() [4/9]

PyDoc_STRVAR ( FEdge_is_smooth_doc ,
"True if this FEdge is a smooth FEdge.\n" "\n" ":type: bool\n"  )

◆ PyDoc_STRVAR() [5/9]

PyDoc_STRVAR ( FEdge_nature_doc ,
"The nature of this FEdge.\n" "\n" ":type: :class:`Nature`\n"  )

◆ PyDoc_STRVAR() [6/9]

PyDoc_STRVAR ( FEdge_next_fedge_doc ,
"The FEdge following this one in the ViewEdge. The value is None if\n" "this FEdge is the last of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n"  )

◆ PyDoc_STRVAR() [7/9]

PyDoc_STRVAR ( FEdge_previous_fedge_doc ,
"The FEdge preceding this one in the ViewEdge. The value is None if\n" "this FEdge is the first one of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n"  )

◆ PyDoc_STRVAR() [8/9]

PyDoc_STRVAR ( FEdge_second_svertex_doc ,
"The second SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n"  )

◆ PyDoc_STRVAR() [9/9]

PyDoc_STRVAR ( FEdge_viewedge_doc ,
"The ViewEdge to which this FEdge belongs to.\n" "\n" ":type: :class:`ViewEdge`\n"  )

Variable Documentation

◆ BPy_FEdge_as_sequence

PySequenceMethods BPy_FEdge_as_sequence
static
Initial value:
= {
(lenfunc)FEdge_sq_length,
nullptr,
nullptr,
(ssizeargfunc)FEdge_sq_item,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static PyObject * FEdge_sq_item(BPy_FEdge *self, Py_ssize_t keynum)
Definition BPy_FEdge.cpp:86
static Py_ssize_t FEdge_sq_length(BPy_FEdge *)
Definition BPy_FEdge.cpp:81

Definition at line 102 of file BPy_FEdge.cpp.

◆ BPy_FEdge_getseters

PyGetSetDef BPy_FEdge_getseters[]
static

Definition at line 308 of file BPy_FEdge.cpp.

◆ FEdge_Type