face:bs
List of: Scheme Extensions
Subjects: Debugging
Contents: Kernel

Action: Returns the B-spline approximation information for a face.

Filename: kern/kern_scm/qfac_scm.cxx

Syntax: (face:bs in-face [extra-info=#f])

Arg Types: in-face face

extra-info boolean

Returns: real | real...

Errors: -1 when there is no B-spline to evaluate.

Description: Returns the number of control points in u and v.


in-face specifies the face to be queried.


extra-info is an optional argument. If it is set to true (#t), then additional B-spline information is returned. The default value is false (#f).

Example: ; face:bs

; Create topology to demonstrate command.

(define path (edge:spline (list (position 0 0 0)


(position 10 0 0) (position 10 10 0))))

;; path

(define profile (edge:ellipse


(position 0 0 0) (gvector 1 0 0)


(gvector 0 0 1)))

;; profile

(define pipe (sweep:law profile path))

;; pipe

(define face (list-ref (entity:faces pipe) 0))

;; face

; Get the B-spline approximation information.

(face:bs face)

;; (14 20)
PDF/KERN/13SCF.PDF
HTM/DATA/KERN/KERN/13SCF/0001.HTM