Blender V4.3
merge_curves.cc File Reference
#include "BLI_array_utils.hh"
#include "BLI_stack.hh"
#include "GEO_merge_curves.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::geometry
 

Enumerations

enum  blender::geometry::Flag { blender::geometry::OnStack = 1 , blender::geometry::Inserted = 2 }
 

Functions

template<typename Fn >
static void blender::geometry::foreach_connected_curve (const Span< int > connect_to_curve, MutableSpan< uint8_t > flags, const int start, Fn fn)
 
static Vector< intblender::geometry::toposort_connected_curves (const Span< int > connect_to_curve)
 
static void blender::geometry::reverse_order (GMutableSpan span)
 
static void blender::geometry::reorder_and_flip_attributes_group_to_group (const bke::AttributeAccessor src_attributes, const bke::AttrDomain domain, const OffsetIndices< int > src_offsets, const OffsetIndices< int > dst_offsets, const Span< int > old_by_new_map, const Span< bool > flip_direction, bke::MutableAttributeAccessor dst_attributes)
 
static bke::CurvesGeometry blender::geometry::reorder_and_flip_curves (const bke::CurvesGeometry &src_curves, const Span< int > old_by_new_map, const Span< bool > flip_direction)
 
static void blender::geometry::find_connected_ranges (const bke::CurvesGeometry &src_curves, const Span< int > old_by_new_map, Span< int > connect_to_curve, Span< bool > cyclic, Vector< int > &r_joined_curve_offsets, Vector< bool > &r_joined_cyclic)
 
static bke::CurvesGeometry blender::geometry::join_curves_ranges (const bke::CurvesGeometry &src_curves, const OffsetIndices< int > old_curves_by_new)
 
bke::CurvesGeometry blender::geometry::curves_merge_endpoints (const bke::CurvesGeometry &src_curves, Span< int > connect_to_curve, Span< bool > flip_direction, const bke::AttributeFilter &attribute_filter)