Skip to content

Commit 45a71c2

Browse files
committed
Add get_cvs and get_knots
1 parent 5d2b7bc commit 45a71c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

panda/src/parametrics/nurbsCurveInterface.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ class EXPCL_PANDA_PARAMETRICS NurbsCurveInterface {
6262
virtual bool set_knot(int n, PN_stdfloat t)=0;
6363
virtual PN_stdfloat get_knot(int n) const=0;
6464

65-
void write_cv(ostream &out, int n) const;
65+
MAKE_SEQ(get_cvs, get_num_cvs, get_cv);
66+
MAKE_SEQ(get_knots, get_num_knots, get_knot);
6667

68+
void write_cv(ostream &out, int n) const;
6769

6870
protected:
6971
virtual int append_cv_impl(const LVecBase4 &v)=0;

0 commit comments

Comments
 (0)