Blender V5.3
bmesh_path_uv.cc File Reference
#include "MEM_guardedalloc.h"
#include <algorithm>
#include "BLI_heap_simple.hh"
#include "BLI_linklist.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_vector_c.hh"
#include "bmesh.hh"
#include "bmesh_path_uv.hh"
#include "intern/bmesh_query.hh"
#include "intern/bmesh_query_uv.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define COST_INIT_MAX   FLT_MAX

Functions

Generic Helpers
static float blender::step_cost_3_v2_ex (const float v1[2], const float v2[2], const float v3[2], bool skip_12, bool skip_23)
static float blender::step_cost_3_v2 (const float v1[2], const float v2[2], const float v3[2])
BM_mesh_calc_path_uv_vert
static void blender::verttag_add_adjacent_uv (HeapSimple *heap, BMLoop *l_a, BMLoop **loops_prev, float *cost, const BMCalcPathUVParams *params)
LinkNode * blender::BM_mesh_calc_path_uv_vert (BMesh *bm, BMLoop *l_src, BMLoop *l_dst, const BMCalcPathUVParams *params, bool(*filter_fn)(BMLoop *, void *), void *user_data)
BM_mesh_calc_path_uv_edge
static float blender::edgetag_cut_cost_vert_uv (BMLoop *l_e_a, BMLoop *l_e_b, BMLoop *l_v, const float aspect_y, const int cd_loop_uv_offset)
static float blender::edgetag_cut_cost_face_uv (BMLoop *l_e_a, BMLoop *l_e_b, BMFace *f, const float aspect_v2[2], const int cd_loop_uv_offset)
static void blender::edgetag_add_adjacent_uv (HeapSimple *heap, BMLoop *l_a, BMLoop **loops_prev, float *cost, const BMCalcPathUVParams *params)
LinkNode * blender::BM_mesh_calc_path_uv_edge (BMesh *bm, BMLoop *l_src, BMLoop *l_dst, const BMCalcPathUVParams *params, bool(*filter_fn)(BMLoop *, void *), void *user_data)
BM_mesh_calc_path_uv_face
static float blender::facetag_cut_cost_edge_uv (BMFace *f_a, BMFace *f_b, BMLoop *l_edge, const void *const f_endpoints[2], const float aspect_v2[2], const int cd_loop_uv_offset)
static float blender::facetag_cut_cost_vert_uv (BMFace *f_a, BMFace *f_b, BMLoop *l_vert, const void *const f_endpoints[2], const float aspect_v2[2], const int cd_loop_uv_offset)
static void blender::facetag_add_adjacent_uv (HeapSimple *heap, BMFace *f_a, BMFace **faces_prev, float *cost, const void *const f_endpoints[2], const float aspect_v2[2], const BMCalcPathUVParams *params)
LinkNode * blender::BM_mesh_calc_path_uv_face (BMesh *bm, BMFace *f_src, BMFace *f_dst, const BMCalcPathUVParams *params, bool(*filter_fn)(BMFace *, void *), void *user_data)

Detailed Description

Find a path between 2 elements in UV space.

Definition in file bmesh_path_uv.cc.

Macro Definition Documentation

◆ COST_INIT_MAX

#define COST_INIT_MAX   FLT_MAX

Definition at line 27 of file bmesh_path_uv.cc.