Blender V5.3
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
8
9#pragma once
10
11#include "DNA_node_types.h"
12
13#include "BKE_curves.hh"
14
15namespace blender::geometry {
16
17/*
18 * Extend curves from their end-points, selectively allow curvature from the original curve to
19 * influence extended segments.
20 */
21bke::CurvesGeometry extend_curves(bke::CurvesGeometry &src_curves,
22 const IndexMask &selection,
23 const VArray<float> &start_lengths,
24 const VArray<float> &end_lengths,
25 float overshoot_fac,
26 bool follow_curvature,
27 float point_density,
28 float segment_influence,
29 float max_angle,
30 bool invert_curvature,
32 const bke::AttributeFilter &attribute_filter);
33
34} // namespace blender::geometry
Low-level operations for curves.
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)
GeometryNodeCurveSampleMode