r3knot
real/code/r3knot.h
r3code
Knot sequence model
r3Model
R3CLID_MODEL
r3Knot
R3CLID_KNOT - 115
int R3RegisterKnotClass(R3APP *app);
R3KM_INSERT
INSERT
R3KM_INSERT
R3BOOL, index of the inserted knot, or -1 for error
R3FLOAT, new knot
rc = obj.INSERT(p3);
Insert new knot
Knots
Knots
R3KA_Knots
Number
R3FLOAT*
array of float values defining knot sequence
jsobj.SetKnots(value);
value = jsobj.GetKnots();
R3FLOAT* value = ...;
R3SetAttrs(r3obj, R3KA_Knots, value, R3TAG_END);
R3FLOAT* value;
R3GetAttrs(r3obj, R3KA_Knots, &value, R3TAG_END);
KnotCnt
KnotCnt
R3KA_KnotCnt
Integer
R3INT
size of array
jsobj.SetKnotCnt(value);
value = jsobj.GetKnotCnt();
R3INT value = ...;
R3SetAttrs(r3obj, R3KA_KnotCnt, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3KA_KnotCnt, &value, R3TAG_END);