Blender V5.0
GEO_extend_curves.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "DNA_node_types.h"
8
9#include "BKE_curves.hh"
10
11namespace blender::geometry {
12
13/*
14 * Extend curves from their end-points, selectively allow curvature from the original curve to
15 * influence extended segments.
16 */
17bke::CurvesGeometry extend_curves(bke::CurvesGeometry &src_curves,
18 const IndexMask &selection,
19 const VArray<float> &start_lengths,
20 const VArray<float> &end_lengths,
21 float overshoot_fac,
22 bool follow_curvature,
23 float point_density,
24 float segment_influence,
25 float max_angle,
26 bool invert_curvature,
28 const bke::AttributeFilter &attribute_filter);
29
30} // namespace blender::geometry
Low-level operations for curves.
GeometryNodeCurveSampleMode
bke::CurvesGeometry extend_curves(bke::CurvesGeometry &src_curves, const IndexMask &selection, const VArray< float > &start_lengths, const VArray< float > &end_lengths, float overshoot_fac, bool follow_curvature, float point_density, float segment_influence, float max_angle, bool invert_curvature, GeometryNodeCurveSampleMode sample_mode, const bke::AttributeFilter &attribute_filter)