Blender V5.3
blender::nodes::node_geo_curve_fill_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_init (bNodeTree *, bNode *node)
static void fill_curve_vert_indices (const OffsetIndices< int > offsets, MutableSpan< int > face_vert_indices)
static meshintersect::CDT_result< double > do_cdt (const bke::CurvesGeometry &curves, const CDT_output_type output_type)
static meshintersect::CDT_result< double > do_cdt_with_mask (const bke::CurvesGeometry &curves, const CDT_output_type output_type, const IndexMask &mask)
static Array< meshintersect::CDT_result< double > > do_group_aware_cdt (const bke::CurvesGeometry &curves, const CDT_output_type output_type, const Field< int > &group_index_field)
static Mesh * cdts_to_mesh (const Span< meshintersect::CDT_result< double > > results)
static void curve_fill_calculate (GeometrySet &geometry_set, const GeometryNodeCurveFillMode mode, const GeometryNodeCurveFillRule fill_rule, const Field< int > &group_index)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static const EnumPropertyItem mode_items []
static const EnumPropertyItem fill_rule_items []

Function Documentation

◆ cdts_to_mesh()

Mesh * blender::nodes::node_geo_curve_fill_cc::cdts_to_mesh ( const Span< meshintersect::CDT_result< double > > results)
static

◆ curve_fill_calculate()

void blender::nodes::node_geo_curve_fill_cc::curve_fill_calculate ( GeometrySet & geometry_set,
const GeometryNodeCurveFillMode mode,
const GeometryNodeCurveFillRule fill_rule,
const Field< int > & group_index )
static

◆ do_cdt()

meshintersect::CDT_result< double > blender::nodes::node_geo_curve_fill_cc::do_cdt ( const bke::CurvesGeometry & curves,
const CDT_output_type output_type )
static

◆ do_cdt_with_mask()

◆ do_group_aware_cdt()

◆ fill_curve_vert_indices()

void blender::nodes::node_geo_curve_fill_cc::fill_curve_vert_indices ( const OffsetIndices< int > offsets,
MutableSpan< int > face_vert_indices )
static

◆ node_declare()

◆ node_geo_exec()

◆ node_init()

void blender::nodes::node_geo_curve_fill_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 70 of file node_geo_curve_fill.cc.

References node, and node_init().

Referenced by node_init(), and node_register().

◆ node_register()

Variable Documentation

◆ fill_rule_items

const EnumPropertyItem blender::nodes::node_geo_curve_fill_cc::fill_rule_items[]
static
Initial value:
= {
"EVEN_ODD",
0,
N_("Even-Odd"),
N_("Alternate inside/outside based on crossing count")},
"NON_ZERO",
0,
N_("Non-Zero"),
N_("Overlapping curves with the same winding direction are filled as a union")},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_CURVE_FILL_RULE_EVEN_ODD
@ GEO_NODE_CURVE_FILL_RULE_NON_ZERO
#define N_(msgid)

Definition at line 33 of file node_geo_curve_fill.cc.

Referenced by node_declare().

◆ mode_items

const EnumPropertyItem blender::nodes::node_geo_curve_fill_cc::mode_items[]
static
Initial value:
= {
{GEO_NODE_CURVE_FILL_MODE_TRIANGULATED, "TRIANGLES", 0, N_("Triangles"), ""},
{GEO_NODE_CURVE_FILL_MODE_NGONS, "NGONS", 0, N_("N-gons"), ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_CURVE_FILL_MODE_TRIANGULATED
@ GEO_NODE_CURVE_FILL_MODE_NGONS

Definition at line 26 of file node_geo_curve_fill.cc.

Referenced by node_declare().