Blender V4.3
GEO_add_curves_on_mesh.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
8#include "BLI_span.hh"
9
10#include "BKE_curves.hh"
11
13
14struct Mesh;
15struct KDTree_3d;
16
18
49
55
60 const AddCurvesOnMeshInputs &inputs);
61
63 const float3 &bary_coord,
64 Span<float3> corner_normals);
65
66} // namespace blender::geometry
Low-level operations for curves.
AddCurvesOnMeshOutputs add_curves_on_mesh(bke::CurvesGeometry &curves, const AddCurvesOnMeshInputs &inputs)
float3 compute_surface_point_normal(const int3 &tri, const float3 &bary_coord, Span< float3 > corner_normals)