Blender V5.3
bmesh_structure.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
17
18#include "BLI_compiler_attrs.hh"
20
21#include "bmesh_class.hh"
22
23namespace blender {
24
25/* -------------------------------------------------------------------- */
29
31
33
34/* -------------------------------------------------------------------- */
37
86
88
89/* -------------------------------------------------------------------- */
94
110/* NOTE:
111 * bmesh_radial_loop_next(BMLoop *l) / prev.
112 * just use member access l->radial_next, l->radial_prev now */
113
115 const BMVert *v,
116 int count_max) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
124 ATTR_NONNULL();
131 ATTR_NONNULL();
139 ATTR_NONNULL();
141 ATTR_NONNULL();
143 ATTR_NONNULL();
144
146
148
149/* -------------------------------------------------------------------- */
152
153void bmesh_disk_vert_swap(BMEdge *e, BMVert *v_dst, BMVert *v_src) ATTR_NONNULL();
159void bmesh_edge_vert_swap(BMEdge *e, BMVert *v_dst, BMVert *v_src) ATTR_NONNULL();
162 ATTR_NONNULL();
164
166
167} // namespace blender
168
169#include "intern/bmesh_structure_inline.hh" /* IWYU pragma: export */
#define BLI_INLINE
ccl_device_inline dual1 len(const ccl_private dual< T > &a)
Definition math_dual.h:263
BMesh Iterators.
bool bmesh_radial_facevert_check(const BMLoop *l, const BMVert *v)
RADIAL CHECK FACE VERT.
void bmesh_disk_edge_remove(BMEdge *e, BMVert *v)
void bmesh_radial_loop_append(BMEdge *e, BMLoop *l)
bool bmesh_disk_validate(int len, BMEdge *e, BMVert *v)
ATTR_WARN_UNUSED_RESULT const BMLoop * l
bool bmesh_radial_validate(int radlen, BMLoop *l)
void bmesh_edge_vert_swap(BMEdge *e, BMVert *v_dst, BMVert *v_src)
int bmesh_disk_facevert_count(const BMVert *v)
DISK COUNT FACE VERT.
void bmesh_disk_vert_swap(BMEdge *e, BMVert *v_dst, BMVert *v_src)
bool bmesh_loop_validate(BMFace *f)
BMLoop * bmesh_radial_faceloop_find_vert(const BMFace *f, const BMVert *v) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
BLI_INLINE BMEdge * bmesh_disk_edge_prev_safe(const BMEdge *e, const BMVert *v) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
ATTR_WARN_UNUSED_RESULT const BMVert * v
void bmesh_radial_loop_remove(BMEdge *e, BMLoop *l)
BMESH RADIAL REMOVE LOOP.
BMLoop * bmesh_disk_faceloop_find_first(const BMEdge *e, const BMVert *v)
int bmesh_radial_facevert_count_at_most(const BMLoop *l, const BMVert *v, const int count_max)
void bmesh_disk_vert_replace(BMEdge *e, BMVert *v_dst, BMVert *v_src)
BMEdge * bmesh_disk_faceedge_find_first(const BMEdge *e, const BMVert *v)
FIND FIRST FACE EDGE.
void bmesh_disk_edge_append(BMEdge *e, BMVert *v)
BMEdge * bmesh_disk_faceedge_find_next(const BMEdge *e, const BMVert *v)
BLI_INLINE BMEdge * bmesh_disk_edge_next_safe(const BMEdge *e, const BMVert *v) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
BMLoop * bmesh_radial_faceloop_find_first(const BMLoop *l, const BMVert *v)
BME RADIAL FIND FIRST FACE VERT.
BLI_INLINE BMEdge * bmesh_disk_edge_prev(const BMEdge *e, const BMVert *v) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
ATTR_WARN_UNUSED_RESULT const BMVert * v2
BMLoop * bmesh_radial_faceloop_find_next(const BMLoop *l, const BMVert *v)
BLI_INLINE BMEdge * bmesh_disk_edge_next(const BMEdge *e, const BMVert *v) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
int bmesh_disk_facevert_count_at_most(const BMVert *v, const int count_max)
BMEdge * bmesh_disk_edge_exists(const BMVert *v1, const BMVert *v2)
bool ATTR_WARN_UNUSED_RESULT
int bmesh_radial_facevert_count(const BMLoop *l, const BMVert *v)
RADIAL COUNT FACE VERT.
void ATTR_NONNULL(1, 2)
BMLoop * bmesh_disk_faceloop_find_first_visible(const BMEdge *e, const BMVert *v)
void bmesh_radial_loop_unlink(BMLoop *l)
ATTR_WARN_UNUSED_RESULT const BMVert const BMEdge * e