entity:edges
List of: Scheme Extensions
Subjects: Cellular Topology
Contents: Cellular Topology

Action: Returns list of all edge entities in an entity or list of entities.

Filename: ct/ct_scm/cell_scm.cxx

APIs: api_get_edges_from_all_entities

Syntax: (entity:edges entity-list)

Arg Types: entity-list entity | (entity ...)

Returns: edge | edge ...

Description: Returns a list of the edges for the input entity or entity-list. Returns an empty list when no edges are found.

Example: ; entity:edges

; Create a solid block.

(define block1


(solid:block (position 0 0 0)


(position 25 25 25)))

;; block1

; List the block's edges.

(entity:edges block1)

;; (#[entity 3 1] #[entity 4 1] #[entity 5 1]

;; #[entity 6 1] #[entity 7 1] #[entity 8 1]

;; #[entity 9 1] #[entity 10 1] #[entity 11 1]

;; #[entity 12 1] #[entity 13 1] #[entity 14 1])
PDF/CT/02SC.PDF
HTM/DATA/CT/CT/02SC/0014.HTM