Blender  V3.3
Functions | Variables
bmesh_py_geometry.c File Reference
#include <Python.h>
#include "BLI_utildefines.h"
#include "../mathutils/mathutils.h"
#include "bmesh.h"
#include "bmesh_py_geometry.h"
#include "bmesh_py_types.h"

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

Variables

static struct PyMethodDef BPy_BM_geometry_methods []
 
static struct 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.c.

Function Documentation

◆ bpy_bm_geometry_intersect_face_point()

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

◆ BPyInit_bmesh_geometry()

PyObject* BPyInit_bmesh_geometry ( void  )

Definition at line 75 of file bmesh_py_geometry.c.

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

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

Definition at line 32 of file bmesh_py_geometry.c.

◆ BPy_BM_geometry_module_def

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

Definition at line 61 of file bmesh_py_geometry.c.

Referenced by BPyInit_bmesh_geometry().