Blender V5.3
bmo_curve_edge_loops_between_selected.cc File Reference

Go to the source code of this file.

Classes

struct  blender::CurveChainData
struct  blender::SplineCoeffs

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::calculate_splines_axis (const Span< float > distances, const Span< float > coords, const bool is_closed, Array< SplineCoeffs > &r_coeffs)
static void blender::traverse_edge_loop (BMVert *v_start, BMEdge *e_start, Set< BMEdge * > &visited_edges, Vector< BMVert * > &r_loop, bool &r_circular)
static CurveChainData blender::build_curve_chain_from_edge (BMEdge *e_start, Set< BMEdge * > &visited_edges)
static void blender::get_perpendicular_chains (const CurveChainData &chain, Vector< CurveChainData > &r_chains, Set< BMEdge * > &visited_edges)
static void blender::calc_curve_input_chains_from_bm (BMesh *bm, Vector< CurveChainData > &r_chains)
static void blender::find_longest_unselected_gap (const Span< BMVert * > verts, int &r_longest_gap, int &r_best_gap_start)
static void blender::trim_chains_to_boundaries (Vector< CurveChainData > &chains)
static void blender::calculate_curve_distances (const Span< BMVert * > verts, const Span< int > knot_indices, const Span< int > point_indices, const bool is_closed, const bool regular, Array< float > &r_knot_distances, Array< float > &r_point_distances)
static void blender::calculate_curve_splines (const Span< float3 > knot_positions, const Span< float > knot_distances, const bool is_closed, std::array< Array< SplineCoeffs >, 3 > &r_coeffs)
static void blender::execute_curve_chain (const Span< BMVert * > input_chain, bool is_closed, const CurveInterpolation interpolation, const CurveClampElevation clamp_elevation, const bool regular, const float factor, const bool lock_x, const bool lock_y, const bool lock_z)
void blender::bmo_curve_edge_loops_between_selected_exec (BMesh *bm, BMOperator *op)

Variables

constexpr float blender::CURVE_EPSILON = 1e-8f

Detailed Description

Fits the unselected edge loops to a curve defined by the selected vertices.

Definition in file bmo_curve_edge_loops_between_selected.cc.