|
Action:
|
Gets the number of knots, in v, for a spline surface.
|
|
|
Filename:
|
cstr/cstr_scm/ssrf_scm.cxx
|
|
|
Syntax:
|
(splsurf:v-knot-count surface)
|
|
|
Arg Types:
|
surface
|
splsurf
|
|
|
Returns:
|
integer
|
|
|
surface is an input surface argument.
|
|
|
Example:
|
; splsurf:v-knot-count
|
|
; Define a spline surface.
|
|
(define surface1 (splsurf))
|
|
;; surface1
|
|
; Define a list of knots.
|
|
(define knots1 (list 0 0 0 1 1 1))
|
|
;; knots1
|
|
; Set the list of knots, in v.
|
|
(define surflist
|
|
|
(splsurf:set-v-knot-list surface1 knots1 6))
|
|
;; surflist
|
|
(splsurf:v-knot-count surface1)
|
|
;; 6
|