Blender V4.3
bmesh_py_geometry.cc File Reference
#include <Python.h>
#include "BLI_utildefines.h"
#include "../mathutils/mathutils.hh"
#include "bmesh.hh"
#include "bmesh_py_geometry.hh"
#include "bmesh_py_types.hh"

Go to the source code of this file.

Functions

 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 PyObject * bpy_bm_geometry_intersect_face_point (BPy_BMFace *, PyObject *args)
 
 PyDoc_STRVAR (BPy_BM_utils_doc, "This module provides access to bmesh geometry evaluation functions.")
 
PyObject * BPyInit_bmesh_geometry ()
 

Variables

static PyMethodDef BPy_BM_geometry_methods []
 
static PyModuleDef BPy_BM_geometry_module_def
 

Detailed Description

This file defines the 'bmesh.geometry' module. Utility functions for operating on 'bmesh.types'

Definition in file bmesh_py_geometry.cc.

Function Documentation

◆ bpy_bm_geometry_intersect_face_point()

static PyObject * bpy_bm_geometry_intersect_face_point ( BPy_BMFace * ,
PyObject * args )
static

◆ BPyInit_bmesh_geometry()

PyObject * BPyInit_bmesh_geometry ( )

Definition at line 80 of file bmesh_py_geometry.cc.

References BPy_BM_geometry_module_def.

Referenced by BPyInit_bmesh().

◆ PyDoc_STRVAR() [1/2]

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"  )

◆ PyDoc_STRVAR() [2/2]

PyDoc_STRVAR ( BPy_BM_utils_doc ,
"This module provides access to bmesh geometry evaluation functions."  )

Variable Documentation

◆ BPy_BM_geometry_methods

PyMethodDef BPy_BM_geometry_methods[]
static
Initial value:
= {
{"intersect_face_point",
METH_VARARGS,
bpy_bm_geometry_intersect_face_point_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * bpy_bm_geometry_intersect_face_point(BPy_BMFace *, PyObject *args)

Definition at line 56 of file bmesh_py_geometry.cc.

◆ BPy_BM_geometry_module_def

PyModuleDef BPy_BM_geometry_module_def
static
Initial value:
= {
PyModuleDef_HEAD_INIT,
"bmesh.geometry",
BPy_BM_utils_doc,
0,
nullptr,
nullptr,
nullptr,
nullptr,
}
static PyMethodDef BPy_BM_geometry_methods[]

Definition at line 68 of file bmesh_py_geometry.cc.

Referenced by BPyInit_bmesh_geometry().