24 bpy_bm_geometry_intersect_face_point_doc,
25 ".. method:: 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 " :arg face: The face to test.\n"
30 " :type face: :class:`bmesh.types.BMFace`\n"
31 " :arg point: The point to test.\n"
32 " :type point: float triplet\n"
33 " :return: True when the projection of the point is in the face.\n"
42 if (!PyArg_ParseTuple(args,
"O!O:intersect_face_point", &
BPy_BMFace_Type, &py_face, &py_point)) {
53 return PyBool_FromLong(
ret);
57 {
"intersect_face_point",
60 bpy_bm_geometry_intersect_face_point_doc},
61 {
nullptr,
nullptr, 0,
nullptr},
67 "This module provides access to bmesh geometry evaluation functions.");
69 PyModuleDef_HEAD_INIT,
bool BM_face_point_inside_test(const BMFace *f, const float co[3])
PyDoc_STRVAR(bpy_bm_geometry_intersect_face_point_doc, ".. method:: intersect_face_point(face, point)\n" "\n" " Tests if the projection of a point is inside a face (using the face's normal).\n" "\n" " :arg face: The face to test.\n" " :type face: :class:`bmesh.types.BMFace`\n" " :arg point: The point to test.\n" " :type point: float triplet\n" " :return: True when the projection of the point is in the face.\n" " :rtype: bool\n")
static PyMethodDef BPy_BM_geometry_methods[]
static PyModuleDef BPy_BM_geometry_module_def
static PyObject * bpy_bm_geometry_intersect_face_point(BPy_BMFace *, PyObject *args)
PyObject * BPyInit_bmesh_geometry()
PyTypeObject BPy_BMFace_Type
#define BPY_BM_CHECK_OBJ(obj)
int mathutils_array_parse(float *array, int array_num_min, int array_num_max, PyObject *value, const char *error_prefix)