|
Blender
V2.93
|
#include "DNA_vec_types.h"#include "BLI_math.h"#include "BLI_strict_flags.h"#include "BLI_lasso_2d.h"Go to the source code of this file.
Functions | |
| void | BLI_lasso_boundbox (rcti *rect, const int mcoords[][2], const unsigned int mcoords_len) |
| bool | BLI_lasso_is_point_inside (const int mcoords[][2], const unsigned int mcoords_len, const int sx, const int sy, const int error_value) |
| bool | BLI_lasso_is_edge_inside (const int mcoords[][2], const unsigned int mcoords_len, int x0, int y0, int x1, int y1, const int error_value) |
| void BLI_lasso_boundbox | ( | rcti * | rect, |
| const int | mcoords[][2], | ||
| const unsigned int | mcoords_len | ||
| ) |
Definition at line 31 of file lasso_2d.c.
References Freestyle::a, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by actkeys_lassoselect_exec(), do_lasso_select_armature(), do_lasso_select_curve(), do_lasso_select_lattice(), do_lasso_select_marker(), do_lasso_select_mask(), do_lasso_select_mesh(), do_lasso_select_mesh_uv(), do_lasso_select_meta(), do_lasso_select_node(), do_lasso_select_paintface(), do_lasso_select_paintvert(), do_lasso_tag_pose(), draw_filled_lasso(), ED_gpencil_stroke_point_is_inside(), gpencil_cutter_exec(), gpencil_lasso_select_exec(), graphkeys_lassoselect_exec(), and sculpt_gesture_init_from_lasso().
| bool BLI_lasso_is_edge_inside | ( | const int | mcoords[][2], |
| const unsigned int | mcoords_len, | ||
| int | x0, | ||
| int | y0, | ||
| int | x1, | ||
| int | y1, | ||
| const int | error_value | ||
| ) |
Definition at line 69 of file lasso_2d.c.
References Freestyle::a, BLI_lasso_is_point_inside(), isect_seg_seg_v2_int(), v1, v2, and y1.
Referenced by do_lasso_select_armature__doSelectBone(), do_lasso_select_mesh__doSelectEdge_pass1(), and do_lasso_select_pose__do_tag().
| bool BLI_lasso_is_point_inside | ( | const int | mcoords[][2], |
| const unsigned int | mcoords_len, | ||
| const int | sx, | ||
| const int | sy, | ||
| const int | error_value | ||
| ) |
Definition at line 54 of file lasso_2d.c.
References isect_point_poly_v2_int().
Referenced by BLI_lasso_is_edge_inside(), do_lasso_select_armature__doSelectBone(), do_lasso_select_curve__doSelect(), do_lasso_select_lattice__doSelect(), do_lasso_select_marker(), do_lasso_select_mask(), do_lasso_select_mball__doSelectElem(), do_lasso_select_mesh__doSelectEdge_pass0(), do_lasso_select_mesh__doSelectFace(), do_lasso_select_mesh__doSelectVert(), do_lasso_select_mesh_uv_is_point_inside(), do_lasso_select_meshobject__doSelectVert(), do_lasso_select_node(), do_lasso_select_objects(), do_lasso_select_pose__do_tag(), ED_gpencil_stroke_point_is_inside(), gpencil_test_lasso(), keyframe_region_lasso_test(), and PE_lasso_select().