Blender
V5.3
source
blender
blenlib
BLI_lasso_2d.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
10
11
#include "
BLI_math_vector_types.hh
"
12
#include "
BLI_span.hh
"
13
14
namespace
blender
{
15
16
struct
rcti
;
17
18
void
BLI_lasso_boundbox
(
rcti
*rect,
Span<int2>
mcoords);
19
bool
BLI_lasso_is_point_inside
(
Span<int2>
mcoords,
int
sx,
int
sy,
int
error_value);
23
bool
BLI_lasso_is_edge_inside
(
Span<int2>
mcoords,
int
x0,
int
y0,
int
x1,
int
y1,
int
error_value);
24
25
}
// 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_lasso_is_point_inside
bool BLI_lasso_is_point_inside(Span< int2 > mcoords, int sx, int sy, int error_value)
Definition
lasso_2d.cc:42
blender::BLI_lasso_is_edge_inside
bool BLI_lasso_is_edge_inside(Span< int2 > mcoords, int x0, int y0, int x1, int y1, int error_value)
Definition
lasso_2d.cc:56
blender::BLI_lasso_boundbox
void BLI_lasso_boundbox(rcti *rect, Span< int2 > mcoords)
Definition
lasso_2d.cc:21
blender::rcti
Definition
DNA_vec_types.h:70
Generated on
for Blender by
doxygen
1.18.0