Blender V5.3
bmesh_wireframe.cc File Reference
#include <algorithm>
#include "MEM_guardedalloc.h"
#include "bmesh.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_vector_c.hh"
#include "BKE_customdata.hh"
#include "BKE_deform.hh"
#include "bmesh_wireframe.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define VERT_DUPE_TEST_ORIG(v)
#define VERT_DUPE_TEST(v)
#define VERT_DUPE_CLEAR(v)

Functions

static BMLoop * blender::bm_edge_tag_faceloop (BMEdge *e)
static void blender::bm_vert_boundary_tangent (BMVert *v, float r_no[3], float r_no_face[3], BMVert **r_va_other, BMVert **r_vb_other)
static bool blender::bm_loop_is_radial_boundary (BMLoop *l_first)
void blender::BM_mesh_wireframe (BMesh *bm, const float offset, const float offset_fac, const float offset_fac_vg, const bool use_replace, const bool use_boundary, const bool use_even_offset, const bool use_relative_offset, const bool use_crease, const float crease_weight, const int defgrp_index, const bool defgrp_invert, const short mat_offset, const int mat_max, const bool use_tag)

Detailed Description

Creates a solid wireframe from connected faces.

Definition in file bmesh_wireframe.cc.

Macro Definition Documentation

◆ VERT_DUPE_CLEAR

#define VERT_DUPE_CLEAR ( v)
Value:
{ \
verts_pos[BM_elem_index_get(v)] = nullptr; \
} \
(void)0
#define BM_elem_index_get(ele)

Referenced by blender::BM_mesh_wireframe().

◆ VERT_DUPE_TEST

#define VERT_DUPE_TEST ( v)
Value:
(verts_pos[BM_elem_index_get(v)] != nullptr)

Referenced by blender::BM_mesh_wireframe().

◆ VERT_DUPE_TEST_ORIG

#define VERT_DUPE_TEST_ORIG ( v)
Value:
(verts_neg[BM_elem_index_get(v)] != nullptr)

Referenced by blender::BM_mesh_wireframe().