lump?
List of: Scheme Extensions
Subjects: Model Topology
Contents: Kernel

Action: Determines if a Scheme object is a lump.

Filename: kern/kern_scm/ent_scm.cxx

Syntax: (lump? object)

Arg Types: object scheme-object

Returns: boolean

Description: This extension returns #t if the object is a lump; otherwise it returns #f.


object specifies the scheme-object that has to be queried for a lump.

Example: ; lump?

; Create a solid cylinder.

(define cyl1 (solid:cylinder (position 0 0 0)


(position 8 8 8) 32))

;; cyl1

; Find the lumps of the cylinder.

(define limps1 (entity:lumps cyl1))

;; limps1

; Determine if the cylinder's lump is

; actually a lump.

(lump? (car limps1))

;; #t

(lump? cyl1)

;; #f
PDF/KERN/14SCI.PDF
HTM/DATA/KERN/KERN/14SCI/0034.HTM