Action:
|
Returns list of all face entities for an entity or list of entities.
|
|
Filename:
|
ct/ct_scm/cell_scm.cxx
|
|
APIs:
|
api_get_faces_from_all_entities
|
|
Syntax:
|
(entity:faces entity-list)
|
|
Arg Types:
|
entity-list
|
entity | (entity ...)
|
|
Returns:
|
face | face ...
|
|
Description:
|
Returns an empty list when no faces are found.
|
|
|
Input argument is an
entity-list whose list of all faces is to be obtained.
|
|
Example:
|
; entity:faces
|
|
; Create a solid block.
|
|
(define block1
|
|
|
(solid:block (position 0 0 0)
|
|
|
(position 25 15 5)))
|
|
;; block1
|
|
; List the block's faces.
|
|
(entity:faces block1)
|
|
;; (#[entity 3 1] #[entity 4 1] #[entity 5 1]
|
|
;; #[entity 6 1] #[entity 7 1] #[entity 8 1])
|