Handbook
Glossary
order-knot-constants ( curve order -- knot-constants )
Vocabulary
nurbs
Inputs
curve
an
object
order
an
object
Outputs
knot-constants
an
object
Definition
USING:
accessors
kernel
math
sequences
;
IN:
nurbs
:
order-knot-constants
( curve order -- knot-constants )
2dup
[
knots>>
length
]
dip
-
<iota>
[
order-index-knot-constants
]
2with
map
;