Blender
V5.3
source
blender
blenlib
BLI_convexhull_2d.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 "
BLI_math_vector_types.hh
"
8
#include "
BLI_span.hh
"
9
10
namespace
blender
{
11
15
31
int
BLI_convexhull_2d
(
Span<float2>
points,
int
r_points[
/*points_num*/
]);
32
40
float
BLI_convexhull_aabb_fit_points_2d
(
Span<float2>
points);
41
46
float2
BLI_convexhull_aabb_fit_points_2d_as_sincos
(
Span<float2>
points);
47
48
}
// namespace blender
BLI_math_vector_types.hh
BLI_span.hh
blender::Span
Definition
BLI_span.hh:74
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::BLI_convexhull_aabb_fit_points_2d_as_sincos
float2 BLI_convexhull_aabb_fit_points_2d_as_sincos(Span< float2 > points)
Definition
convexhull_2d.cc:807
blender::BLI_convexhull_2d
int BLI_convexhull_2d(Span< float2 > points, int r_points[])
Definition
convexhull_2d.cc:310
blender::float2
VecBase< float, 2 > float2
Definition
BLI_math_vector_types.hh:798
blender::BLI_convexhull_aabb_fit_points_2d
float BLI_convexhull_aabb_fit_points_2d(Span< float2 > points)
Definition
convexhull_2d.cc:833
Generated on
for Blender by
doxygen
1.18.0