Blender
V3.3
|
#include "BPy_FEdgeSharp.h"
#include "../../BPy_Convert.h"
#include "../../Interface0D/BPy_SVertex.h"
Go to the source code of this file.
Macros | |
#define | MATHUTILS_SUBTYPE_NORMAL_A 1 |
#define | MATHUTILS_SUBTYPE_NORMAL_B 2 |
Functions | |
PyDoc_STRVAR (FEdgeSharp_doc, "Class hierarchy: :class:`Interface1D` > :class:`FEdge` > :class:`FEdgeSharp`\n" "\n" "Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial\n" "edge of the input mesh. It can be a silhouette, a crease or a border.\n" "If it is a crease edge, then it is bordered by two faces of the mesh.\n" "Face a lies on its right whereas Face b lies on its left. If it is a\n" "border edge, then it doesn't have any face on its right, and thus Face\n" "a is None.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex)\n" "\n" " Builds an :class:`FEdgeSharp` using the default constructor,\n" " copy constructor, or between two :class:`SVertex` objects.\n" "\n" " :arg brother: An FEdgeSharp object.\n" " :type brother: :class:`FEdgeSharp`\n" " :arg first_vertex: The first SVertex object.\n" " :type first_vertex: :class:`SVertex`\n" " :arg second_vertex: The second SVertex object.\n" " :type second_vertex: :class:`SVertex`") | |
static int | FEdgeSharp_init (BPy_FEdgeSharp *self, PyObject *args, PyObject *kwds) |
static int | FEdgeSharp_mathutils_check (BaseMathObject *bmo) |
static int | FEdgeSharp_mathutils_get (BaseMathObject *bmo, int subtype) |
static int | FEdgeSharp_mathutils_set (BaseMathObject *bmo, int subtype) |
static int | FEdgeSharp_mathutils_get_index (BaseMathObject *bmo, int subtype, int index) |
static int | FEdgeSharp_mathutils_set_index (BaseMathObject *bmo, int subtype, int index) |
void | FEdgeSharp_mathutils_register_callback () |
PyDoc_STRVAR (FEdgeSharp_normal_right_doc, "The normal to the face lying on the right of the FEdge. If this FEdge\n" "is a border, it has no Face on its right and therefore no normal.\n" "\n" ":type: :class:`mathutils.Vector`") | |
static PyObject * | FEdgeSharp_normal_right_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
static int | FEdgeSharp_normal_right_set (BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_normal_left_doc, "The normal to the face lying on the left of the FEdge.\n" "\n" ":type: :class:`mathutils.Vector`") | |
static PyObject * | FEdgeSharp_normal_left_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
static int | FEdgeSharp_normal_left_set (BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_material_index_right_doc, "The index of the material of the face lying on the right of the FEdge.\n" "If this FEdge is a border, it has no Face on its right and therefore\n" "no material.\n" "\n" ":type: int") | |
static PyObject * | FEdgeSharp_material_index_right_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
static int | FEdgeSharp_material_index_right_set (BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_material_index_left_doc, "The index of the material of the face lying on the left of the FEdge.\n" "\n" ":type: int") | |
static PyObject * | FEdgeSharp_material_index_left_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
static int | FEdgeSharp_material_index_left_set (BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_material_right_doc, "The material of the face lying on the right of the FEdge. If this FEdge\n" "is a border, it has no Face on its right and therefore no material.\n" "\n" ":type: :class:`Material`") | |
static PyObject * | FEdgeSharp_material_right_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_material_left_doc, "The material of the face lying on the left of the FEdge.\n" "\n" ":type: :class:`Material`") | |
static PyObject * | FEdgeSharp_material_left_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_face_mark_right_doc, "The face mark of the face lying on the right of the FEdge. If this FEdge\n" "is a border, it has no face on the right and thus this property is set to\n" "false.\n" "\n" ":type: bool") | |
static PyObject * | FEdgeSharp_face_mark_right_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
static int | FEdgeSharp_face_mark_right_set (BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (FEdgeSharp_face_mark_left_doc, "The face mark of the face lying on the left of the FEdge.\n" "\n" ":type: bool") | |
static PyObject * | FEdgeSharp_face_mark_left_get (BPy_FEdgeSharp *self, void *UNUSED(closure)) |
static int | FEdgeSharp_face_mark_left_set (BPy_FEdgeSharp *self, PyObject *value, void *UNUSED(closure)) |
Variables | |
static Mathutils_Callback | FEdgeSharp_mathutils_cb |
static unsigned char | FEdgeSharp_mathutils_cb_index = -1 |
static PyGetSetDef | BPy_FEdgeSharp_getseters [] |
PyTypeObject | FEdgeSharp_Type |
#define MATHUTILS_SUBTYPE_NORMAL_A 1 |
Definition at line 84 of file BPy_FEdgeSharp.cpp.
#define MATHUTILS_SUBTYPE_NORMAL_B 2 |
Definition at line 85 of file BPy_FEdgeSharp.cpp.
|
static |
Definition at line 332 of file BPy_FEdgeSharp.cpp.
References PyBool_from_bool(), and self.
|
static |
Definition at line 337 of file BPy_FEdgeSharp.cpp.
References bool_from_PyBool().
|
static |
Definition at line 311 of file BPy_FEdgeSharp.cpp.
References PyBool_from_bool(), and self.
|
static |
Definition at line 316 of file BPy_FEdgeSharp.cpp.
References bool_from_PyBool().
|
static |
Definition at line 46 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_Type, and SVertex_Type.
|
static |
Definition at line 266 of file BPy_FEdgeSharp.cpp.
References self.
|
static |
Definition at line 271 of file BPy_FEdgeSharp.cpp.
|
static |
Definition at line 244 of file BPy_FEdgeSharp.cpp.
References self.
|
static |
Definition at line 249 of file BPy_FEdgeSharp.cpp.
|
static |
Definition at line 299 of file BPy_FEdgeSharp.cpp.
References BPy_FrsMaterial_from_FrsMaterial(), and self.
|
static |
Definition at line 289 of file BPy_FEdgeSharp.cpp.
References BPy_FrsMaterial_from_FrsMaterial(), and self.
|
static |
Definition at line 87 of file BPy_FEdgeSharp.cpp.
References BPy_FEdgeSharp_Check.
|
static |
Definition at line 95 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
|
static |
Definition at line 135 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
void FEdgeSharp_mathutils_register_callback | ( | ) |
Definition at line 183 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_mathutils_cb, FEdgeSharp_mathutils_cb_index, and Mathutils_RegisterCallback().
Referenced by Interface1D_Init().
|
static |
Definition at line 117 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, and MATHUTILS_SUBTYPE_NORMAL_B.
|
static |
Definition at line 153 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
|
static |
Definition at line 220 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_mathutils_cb_index, MATHUTILS_SUBTYPE_NORMAL_B, and Vector_CreatePyObject_cb().
|
static |
Definition at line 226 of file BPy_FEdgeSharp.cpp.
References mathutils_array_parse(), and v.
|
static |
Definition at line 196 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_mathutils_cb_index, MATHUTILS_SUBTYPE_NORMAL_A, and Vector_CreatePyObject_cb().
|
static |
Definition at line 202 of file BPy_FEdgeSharp.cpp.
References mathutils_array_parse(), and v.
PyDoc_STRVAR | ( | FEdgeSharp_doc | , |
"Class hierarchy: :class:`Interface1D` | , | ||
:class:`FEdge` | , | ||
:class:`FEdgeSharp`\n" "\n" "Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial\n" "edge of the input mesh. It can be a | silhouette, | ||
a crease or a border.\n" "If it is a crease | edge, | ||
then it is bordered by two faces of the mesh.\n" "Face a lies on its right whereas Face b lies on its left. If it is a\n" "border | edge, | ||
then it doesn 't have any face on its | right, | ||
and thus Face\n" "a is None.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex)\n" "\n" " Builds an :class:`FEdgeSharp` using the default | constructor, | ||
\n" " copy | constructor, | ||
or between two :class:`SVertex` objects.\n" "\n" " :arg brother:An FEdgeSharp object.\n" " :type brother::class:`FEdgeSharp`\n" " :arg first_vertex:The first SVertex object.\n" " :type first_vertex::class:`SVertex`\n" " :arg second_vertex:The second SVertex object.\n" " :type second_vertex::class:`SVertex`" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_face_mark_left_doc | , |
"The face mark of the face lying on the left of the FEdge.\n" "\n" ":type: bool" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_face_mark_right_doc | , |
"The face mark of the face lying on the right of the FEdge. If this FEdge\n" "is a | border, | ||
it has no face on the right and thus this property is set to\n" "false.\n" "\n" ":type:bool" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_material_index_left_doc | , |
"The index of the material of the face lying on the left of the FEdge.\n" "\n" ":type: int" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_material_index_right_doc | , |
"The index of the material of the face lying on the right of the FEdge.\n" "If this FEdge is a | border, | ||
it has no Face on its right and therefore\n" "no material.\n" "\n" ":type:int" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_material_left_doc | , |
"The material of the face lying on the left of the FEdge.\n" "\n" ":type: :class:`Material`" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_material_right_doc | , |
"The material of the face lying on the right of the FEdge. If this FEdge\n" "is a | border, | ||
it has no Face on its right and therefore no material.\n" "\n" ":type::class:`Material`" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_normal_left_doc | , |
"The normal to the face lying on the left of the FEdge.\n" "\n" ":type: :class:`mathutils.Vector`" | |||
) |
PyDoc_STRVAR | ( | FEdgeSharp_normal_right_doc | , |
"The normal to the face lying on the right of the FEdge. If this FEdge\n" "is a | border, | ||
it has no Face on its right and therefore no normal.\n" "\n" ":type::class:`mathutils.Vector`" | |||
) |
|
static |
Definition at line 348 of file BPy_FEdgeSharp.cpp.
|
static |
Definition at line 173 of file BPy_FEdgeSharp.cpp.
Referenced by FEdgeSharp_mathutils_register_callback().
|
static |
Definition at line 181 of file BPy_FEdgeSharp.cpp.
Referenced by FEdgeSharp_mathutils_register_callback(), FEdgeSharp_normal_left_get(), and FEdgeSharp_normal_right_get().
PyTypeObject FEdgeSharp_Type |
Definition at line 394 of file BPy_FEdgeSharp.cpp.
Referenced by BPy_FEdgeSharp_from_FEdgeSharp(), FEdgeSharp_init(), and Interface1D_Init().