Blender V4.3
bmesh_private.hh File Reference
#include "bmesh_structure.hh"

Go to the source code of this file.

Macros

#define BM_CHECK_ELEMENT(el)
 
#define BM_ELEM_API_FLAG_ENABLE(element, f)
 
#define BM_ELEM_API_FLAG_DISABLE(element, f)
 
#define BM_ELEM_API_FLAG_TEST(element, f)   ((element)->head.api_flag & (f))
 
#define BM_ELEM_API_FLAG_CLEAR(element)
 

Enumerations

enum  {
  _FLAG_JF = (1 << 0) , _FLAG_MF = (1 << 1) , _FLAG_MV = (1 << 1) , _FLAG_OVERLAP = (1 << 2) ,
  _FLAG_WALK = (1 << 3) , _FLAG_WALK_ALT = (1 << 4) , _FLAG_ELEM_CHECK = (1 << 7)
}
 

Functions

int bmesh_elem_check (void *element, char htype)
 
int bmesh_radial_length (const BMLoop *l)
 
int bmesh_disk_count_at_most (const BMVert *v, int count_max)
 
int bmesh_disk_count (const BMVert *v)
 
void poly_rotate_plane (const float normal[3], float(*verts)[3], uint nverts)
 POLY ROTATE PLANE.
 

Detailed Description

Private function prototypes for bmesh public API. This file is a grab-bag of functions from various parts of the bmesh internals.

Definition in file bmesh_private.hh.

Macro Definition Documentation

◆ BM_CHECK_ELEMENT

◆ BM_ELEM_API_FLAG_CLEAR

#define BM_ELEM_API_FLAG_CLEAR ( element)
Value:
{ \
((element)->head.api_flag = 0); \
} \
(void)0
ATTR_WARN_UNUSED_RESULT const void * element

Definition at line 74 of file bmesh_private.hh.

Referenced by bmo_flag_layer_alloc(), and bmo_flag_layer_free().

◆ BM_ELEM_API_FLAG_DISABLE

◆ BM_ELEM_API_FLAG_ENABLE

◆ BM_ELEM_API_FLAG_TEST

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Internal BMHeader.api_flag

Note
Ensure different parts of the API do not conflict on using these internal flags!
Enumerator
_FLAG_JF 
_FLAG_MF 
_FLAG_MV 
_FLAG_OVERLAP 
_FLAG_WALK 
_FLAG_WALK_ALT 
_FLAG_ELEM_CHECK 

Definition at line 52 of file bmesh_private.hh.

Function Documentation

◆ bmesh_disk_count()

◆ bmesh_disk_count_at_most()

int bmesh_disk_count_at_most ( const BMVert * v,
int count_max )

◆ bmesh_elem_check()

◆ bmesh_radial_length()

◆ poly_rotate_plane()

void poly_rotate_plane ( const float normal[3],
float(*) verts[3],
uint nverts )

POLY ROTATE PLANE.

Rotates a polygon so that its normal is pointing towards the mesh Z axis

Definition at line 581 of file bmesh_polygon.cc.

References axis_dominant_v3_to_m3(), copy_v3_v3(), mul_v2_m3v3(), and verts.

Referenced by quad_co().