Blender V4.3
blender::geometry::boolean::BooleanOpParameters Struct Reference

#include <GEO_mesh_boolean.hh>

Public Attributes

Operation boolean_mode
 
bool no_self_intersections = true
 
bool no_nested_components = true
 
bool watertight = true
 

Detailed Description

BooleanOpParameters bundles together the global parameters for the boolean operation. As well as saying which particular operation (intersect, difference, union) is desired, it also states some assumptions that the algorithm is allowed to make about the input (e.g., whether or not there are any self intersections).

Definition at line 38 of file GEO_mesh_boolean.hh.

Member Data Documentation

◆ boolean_mode

Operation blender::geometry::boolean::BooleanOpParameters::boolean_mode

◆ no_nested_components

bool blender::geometry::boolean::BooleanOpParameters::no_nested_components = true

Can we assume there are no nested components (e.g., a box inside a box) in any of the components?

Definition at line 44 of file GEO_mesh_boolean.hh.

Referenced by blender::nodes::node_geo_boolean_cc::node_geo_exec().

◆ no_self_intersections

bool blender::geometry::boolean::BooleanOpParameters::no_self_intersections = true

Can we assume there are no self-intersections in any of the operands?

Definition at line 41 of file GEO_mesh_boolean.hh.

Referenced by blender::geometry::boolean::mesh_boolean(), and blender::nodes::node_geo_boolean_cc::node_geo_exec().

◆ watertight

bool blender::geometry::boolean::BooleanOpParameters::watertight = true

Can we assume the argument meshes are watertight volume enclosing?

Definition at line 46 of file GEO_mesh_boolean.hh.

Referenced by blender::geometry::boolean::mesh_boolean(), and blender::nodes::node_geo_boolean_cc::node_geo_exec().


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