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

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

Filename: ct/ct_scm/cell_scm.cxx

APIs: api_get_vertices_from_all_entities

Syntax: (entity:vertices entity-list)

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

Returns: vertex | vertex ...

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

Example: ; entity:vertices

; Create a solid block.

(define block1


(solid:block (position 0 0 0)


(position 25 25 25)))

;; block1

; List the block's edges.

(entity:vertices 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])
PDF/CT/02SC.PDF
HTM/DATA/CT/CT/02SC/0016.HTM