Blender V5.0
curves_extrude.cc File Reference
#include "BKE_attribute.hh"
#include "BKE_curves_utils.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_curves.hh"
#include "DEG_depsgraph.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::curves

Functions

static Span< int > blender::ed::curves::compress_intervals (const OffsetIndices< int > intervals_by_curve, MutableSpan< int > intervals)
static void blender::ed::curves::calc_curves_extrusion (const IndexMask &selection, const OffsetIndices< int > points_by_curve, MutableSpan< int > copy_intervals, MutableSpan< int > curves_intervals_offsets, MutableSpan< bool > is_first_selected)
static void blender::ed::curves::calc_new_offsets (const Span< int > old_offsets, const Span< int > curves_intervals_offsets, MutableSpan< int > new_offsets)
static IndexRange blender::ed::curves::shift_end_by (const IndexRange &range, const int n)
static float blender::ed::curves::clamp_to_zero (const float value)
static void blender::ed::curves::extrude_knots (const bke::CurvesGeometry &curves, const OffsetIndices< int > intervals_by_curve, const OffsetIndices< int > copy_intervals, const Span< bool > is_first_selected, bke::CurvesGeometry &dst_curves)
static bke::CurvesGeometry blender::ed::curves::extrude_curves (const bke::CurvesGeometry &curves, const IndexMask &extruded_points)
static wmOperatorStatus blender::ed::curves::curves_extrude_exec (bContext *C, wmOperator *)
Operators
void blender::ed::curves::CURVES_OT_extrude (wmOperatorType *ot)