24 bpy_bm_geometry_intersect_face_point_doc,
25 ".. function:: intersect_face_point(face, point)\n"
27 " Tests if the projection of a point is inside a face (using the face's normal).\n"
29 " :param face: The face to test.\n"
30 " :type face: :class:`bmesh.types.BMFace`\n"
31 " :param point: The 3D point to test.\n"
32 " :type point: tuple[float, float, float] | Sequence[float]\n"
33 " :return: True when the projection of the point is in the face.\n"
42 if (!PyArg_ParseTuple(args,
45 ":intersect_face_point",
60 return PyBool_FromLong(
ret);
64 {
"intersect_face_point",
67 bpy_bm_geometry_intersect_face_point_doc},
68 {
nullptr,
nullptr, 0,
nullptr},
74 "This module provides access to bmesh geometry evaluation functions.\n");
#define BPY_BM_CHECK_OBJ(obj)
static PyModuleDef BPy_BM_geometry_module_def
static PyMethodDef BPy_BM_geometry_methods[]
PyDoc_STRVAR(bpy_bm_new_doc, ".. function:: new(*, use_operators=True)\n" "\n" " :param use_operators: Support calling operators in :mod:`bmesh.ops` (uses some " "extra memory per vert/edge/face).\n" " :type use_operators: bool\n" " :return: Return a new, empty BMesh.\n" " :rtype: :class:`bmesh.types.BMesh`\n")
bool BM_face_point_inside_test(const BMFace *f, const float co[3])
PyTypeObject BPy_BMFace_Type
int mathutils_array_parse(float *array, int array_num_min, int array_num_max, PyObject *value, const char *error_prefix)
static PyObject * bpy_bm_geometry_intersect_face_point(BPy_BMFace *, PyObject *args)
PyObject * BPyInit_bmesh_geometry()