Blender V5.3
blender::ed::greasepencil::boolean::WindingState Class Reference

Public Member Functions

void add_to_curve (const int curve_i, const int winding_i)
void remove_unneeded_ids ()
bool is_in_shape (const int shape_id, const GroupedSpan< int > &shapes) const
bool is_in_shapes (const IndexMask &shape_mask, const GroupedSpan< int > &shapes) const
bool is_contributing (const CurveBooleanOpParameters op_params, const GroupedSpan< int > &shapes, const int subject_shape, const IndexMask &clipping_shapes) const

Detailed Description

The Winding State is a sparse way to store what curves a point is inside.

Definition at line 96 of file grease_pencil_boolean.cc.

Member Function Documentation

◆ add_to_curve()

void blender::ed::greasepencil::boolean::WindingState::add_to_curve ( const int curve_i,
const int winding_i )
inline

◆ is_contributing()

bool blender::ed::greasepencil::boolean::WindingState::is_contributing ( const CurveBooleanOpParameters op_params,
const GroupedSpan< int > & shapes,
const int subject_shape,
const IndexMask & clipping_shapes ) const
inline

◆ is_in_shape()

bool blender::ed::greasepencil::boolean::WindingState::is_in_shape ( const int shape_id,
const GroupedSpan< int > & shapes ) const
inline

Definition at line 127 of file grease_pencil_boolean.cc.

Referenced by is_contributing().

◆ is_in_shapes()

bool blender::ed::greasepencil::boolean::WindingState::is_in_shapes ( const IndexMask & shape_mask,
const GroupedSpan< int > & shapes ) const
inline

◆ remove_unneeded_ids()

void blender::ed::greasepencil::boolean::WindingState::remove_unneeded_ids ( )
inline

The documentation for this class was generated from the following file: