Blender V4.3
blender::nodes::node_geo_curve_primitive_circle_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void node_init (bNodeTree *, bNode *node)
 
static bool colinear_f3_f3_f3 (const float3 p1, const float3 p2, const float3 p3)
 
static Curvescreate_point_circle_curve (const float3 p1, const float3 p2, const float3 p3, const int resolution, float3 &r_center)
 
static Curvescreate_radius_circle_curve (const int resolution, const float radius)
 
static void node_geo_exec (GeoNodeExecParams params)
 
static void node_rna (StructRNA *srna)
 
static void node_register ()
 

Function Documentation

◆ colinear_f3_f3_f3()

static bool blender::nodes::node_geo_curve_primitive_circle_cc::colinear_f3_f3_f3 ( const float3 p1,
const float3 p2,
const float3 p3 )
static

Definition at line 92 of file node_geo_curve_primitive_circle.cc.

References b, ELEM, and blender::math::normalize().

Referenced by create_point_circle_curve().

◆ create_point_circle_curve()

static Curves * blender::nodes::node_geo_curve_primitive_circle_cc::create_point_circle_curve ( const float3 p1,
const float3 p2,
const float3 p3,
const int resolution,
float3 & r_center )
static

◆ create_radius_circle_curve()

static Curves * blender::nodes::node_geo_curve_primitive_circle_cc::create_radius_circle_curve ( const int resolution,
const float radius )
static

◆ node_declare()

◆ node_geo_exec()

◆ node_init()

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

Definition at line 84 of file node_geo_curve_primitive_circle.cc.

References data, and GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_RADIUS.

Referenced by node_register().

◆ node_layout()

static void blender::nodes::node_geo_curve_primitive_circle_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 79 of file node_geo_curve_primitive_circle.cc.

References ptr, UI_ITEM_R_EXPAND, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ node_rna()

static void blender::nodes::node_geo_curve_primitive_circle_cc::node_rna ( StructRNA * srna)
static