Blender V5.0
sculpt_geodesic.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_array.hh"
13#include "BLI_offset_indices.hh"
14#include "BLI_set.hh"
15
17
22Array<float> distances_create(Span<float3> vert_positions,
23 Span<int2> edges,
24 OffsetIndices<int> faces,
25 Span<int> corner_verts,
26 GroupedSpan<int> vert_to_edge_map,
27 GroupedSpan<int> edge_to_face_map,
28 Span<bool> hide_poly,
29 const Set<int> &initial_verts,
30 float limit_radius);
31
32} // namespace blender::ed::sculpt_paint::geodesic
static char faces[256]
Array< float > distances_create(const Span< float3 > vert_positions, const Span< int2 > edges, const OffsetIndices< int > faces, const Span< int > corner_verts, const GroupedSpan< int > vert_to_edge_map, const GroupedSpan< int > edge_to_face_map, const Span< bool > hide_poly, const Set< int > &initial_verts, const float limit_radius)