Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | node_init (bNodeTree *UNUSED(tree), bNode *node) |
static void | node_update (bNodeTree *ntree, bNode *node) |
static bool | colinear_f3_f3_f3 (const float3 p1, const float3 p2, const float3 p3) |
static Curves * | create_point_circle_curve (const float3 p1, const float3 p2, const float3 p3, const int resolution, float3 &r_center) |
static Curves * | create_radius_circle_curve (const int resolution, const float radius) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 97 of file node_geo_curve_primitive_circle.cc.
References Freestyle::a, usdtokens::b(), ELEM, and blender::math::normalize().
Referenced by create_point_circle_curve().
|
static |
Definition at line 104 of file node_geo_curve_primitive_circle.cc.
References center, colinear_f3_f3_f3(), KDL::cos(), blender::math::cross(), CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain_single(), blender::math::distance(), Curves::geometry, blender::math::interpolate(), isect_plane_plane_plane_v3(), M_PI, blender::math::normalize(), plane_from_point_normal_v3(), positions, q1, r, KDL::sin(), v1, v2, and blender::bke::CurvesGeometry::wrap().
Referenced by node_geo_exec().
|
static |
Definition at line 163 of file node_geo_curve_primitive_circle.cc.
References KDL::cos(), CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain_single(), Curves::geometry, M_PI, positions, KDL::sin(), blender::bke::CurvesGeometry::wrap(), x, and y.
Referenced by node_geo_exec().
|
static |
Definition at line 14 of file node_geo_curve_primitive_circle.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_RADIUS, N_, node, PROP_DISTANCE, and PROP_TRANSLATION.
Referenced by register_node_type_geo_curve_primitive_circle().
|
static |
Definition at line 182 of file node_geo_curve_primitive_circle.cc.
References create_point_circle_curve(), create_radius_circle_curve(), GeometrySet::create_with_curves(), curves, GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_RADIUS, if(), max, NodeGeometryCurvePrimitiveCircle::mode, and params.
Referenced by register_node_type_geo_curve_primitive_circle().
|
static |
Definition at line 64 of file node_geo_curve_primitive_circle.cc.
References data, GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_RADIUS, and node.
|
static |
Definition at line 59 of file node_geo_curve_primitive_circle.cc.
References ptr, UI_ITEM_R_EXPAND, and uiItemR().
Referenced by register_node_type_geo_curve_primitive_circle().
|
static |
Definition at line 72 of file node_geo_curve_primitive_circle.cc.
References GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_RADIUS, NodeGeometryCurvePrimitiveCircle::mode, bNodeSocket::next, next, node, nodeSetSocketAvailability(), and ntree.
Referenced by register_node_type_geo_curve_primitive_circle().