19 params.set_default_remaining_outputs();
27 curves.ensure_evaluated_lengths();
30 for (
const int i :
curves.curves_range()) {
31 length +=
curves.evaluated_length_total_for_curve(i, cyclic[i]);
Low-level operations for curves.
@ GEO_COMPONENT_TYPE_CURVE
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_CURVE_LENGTH
void nodeRegisterType(struct bNodeType *ntype)
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
static CurvesGeometry & wrap(::CurvesGeometry &dna_struct)
T length(const vec_base< T, Size > &a)
static void node_declare(NodeDeclarationBuilder &b)
static void node_geo_exec(GeoNodeExecParams params)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_geo_curve_length()
void geo_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
const Curves * get_curves_for_read() const
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare