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

Action: Determines if a scheme-object is a body.

Filename: kern/kern_scm/ent_scm.cxx

Syntax: (body? object)

Arg Types: object scheme-object

Returns: boolean

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


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

Example: ; body?

; Create a solid block.

(define block1


(solid:block (position 0 0 0)


(position 15 15 15)))

;; block1

; Determine if the solid block is a body.

(body? block1)

;; #t
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0020.HTM