Blender V4.3
lasso_2d.cc File Reference
#include "DNA_vec_types.h"
#include "BLI_math_base.h"
#include "BLI_math_geom.h"
#include "BLI_lasso_2d.hh"
#include "BLI_strict_flags.h"

Go to the source code of this file.

Functions

void BLI_lasso_boundbox (rcti *rect, const Span< int2 > mcoords)
 
bool BLI_lasso_is_point_inside (const Span< int2 > mcoords, const int sx, const int sy, const int error_value)
 
bool BLI_lasso_is_edge_inside (const Span< int2 > mcoords, int x0, int y0, int x1, int y1, const int error_value)
 

Function Documentation

◆ BLI_lasso_boundbox()

void BLI_lasso_boundbox ( rcti * rect,
const Span< int2 > mcoords )

◆ BLI_lasso_is_edge_inside()

bool BLI_lasso_is_edge_inside ( const Span< int2 > mcoords,
int x0,
int y0,
int x1,
int y1,
const int error_value )

◆ BLI_lasso_is_point_inside()

bool BLI_lasso_is_point_inside ( const Span< int2 > mcoords,
const int sx,
const int sy,
const int error_value )