face:sphere-radius
List of: Scheme Extensions
Subjects: Construction Geometry
Contents: Kernel

Action: Gets the radius of a spherical face.

Filename: kern/kern_scm/qfac_scm.cxx

Syntax: (face:sphere-radius face)

Arg Types: face spherical-face

Returns: real

Description: This extension returns the radius of the spherical face.


face specifies a spherical face entity.

Example: ; face:sphere-radius

; Create a solid sphere.

(define sphere1 (solid:sphere (position 0 0 0) 38))

;; sphere1

; Find the faces of the solid sphere.

(define faces1 (entity:faces sphere1))

;; faces1

; Find the radius of a spherical face.

(face:sphere-radius (car faces1))

;; 38
PDF/KERN/13SCF.PDF
HTM/DATA/KERN/KERN/13SCF/0013.HTM