Blender V5.3
bmesh_query_uv.cc File Reference
#include "BLI_array.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_string_ref.hh"
#include "BKE_attribute.h"
#include "BKE_customdata.hh"
#include "bmesh.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define UV_ASPECT(l, r_uv)

Functions

BMUVOffsets blender::BM_uv_map_offsets_from_layer (const BMesh *bm, const int layer)
BMUVOffsets blender::BM_uv_map_offsets_get (const BMesh *bm)
static void blender::uv_aspect (const BMLoop *l, const float aspect[2], const int cd_loop_uv_offset, float r_uv[2])
void blender::BM_face_uv_calc_center_median_weighted (const BMFace *f, const float aspect[2], const int cd_loop_uv_offset, float r_cent[2])
void blender::BM_face_uv_calc_center_median (const BMFace *f, const int cd_loop_uv_offset, float r_cent[2])
float blender::BM_face_uv_calc_cross (const BMFace *f, const int cd_loop_uv_offset)
void blender::BM_face_uv_minmax (const BMFace *f, float min[2], float max[2], const int cd_loop_uv_offset)
bool blender::BM_loop_uv_share_edge_check (const BMLoop *l_a, const BMLoop *l_b, const int cd_loop_uv_offset)
bool blender::BM_loop_uv_share_vert_check (const BMLoop *l_a, const BMLoop *l_b, const int cd_loop_uv_offset)
bool blender::BM_edge_uv_share_vert_check (const BMEdge *e, const BMLoop *l_a, const BMLoop *l_b, const int cd_loop_uv_offset)
bool blender::BM_face_uv_point_inside_test (const BMFace *f, const float co[2], const int cd_loop_uv_offset)

Macro Definition Documentation

◆ UV_ASPECT

#define UV_ASPECT ( l,
r_uv )
Value:
uv_aspect(l, aspect, cd_loop_uv_offset, r_uv)

Typically we avoid hiding arguments, make this an exception since it reads poorly with so many repeated arguments.

Definition at line 64 of file bmesh_query_uv.cc.

Referenced by blender::BM_face_uv_calc_center_median_weighted().