face:toroidal?
List of: Scheme Extensions
Subjects: Model Geometry
Contents: Kernel

Action: Determines if a Scheme object is a toroidal face.

Filename: kern/kern_scm/qfac_scm.cxx

Syntax: (face:toroidal? object)

Arg Types: object scheme-object

Returns: boolean


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

Example: ; face:toroidal?

; Create solid torus 1.

(define torus1


(solid:torus (position -10 -10 -10) 7 3))

;; torus1

; Get a list of the faces on torus 1.

(define faces1 (entity:faces torus1))

;; faces1

; Determine if the face is a toroidal face.

(face:toroidal? (car faces1))

;; #t
PDF/KERN/13SCF.PDF
HTM/DATA/KERN/KERN/13SCF/0016.HTM