geom3d
incident
return the vertices incident to a given vertex of a polyhedron
Calling Sequence
Parameters
Description
Examples
incident(ngon, i)
ngon
-
polyhedron
i
positive integer
The routine incident returns a list of vertices incident to the i-th vertex of the given polyhedron ngon.
withgeom3d:
Define a snub cube with center (0,0,0), radius of the in-sphere 1
SnubCubes,pointo,0,0,0,1
s
nopsverticess
24
Find the coordinates of vertices which are incident to the second vertex
inc≔incidents,2
inc≔33−13+217+3113233−17+3113231139−17+3113136+17+31131311318,7317+31131318+39−17+311323116+5317+31132318−17+311313116−13+217+3113233−17+3113231139−17+3113136+17+31131311318,317+311323−2−17+3113139−13+217+3113233−17+3113231139−17+3113136+17+3113131131817+311313,33−13+217+3113233−17+3113231139−17+3113136+17+31131311318,317+311323−2−17+3113139−13+217+3113233−17+3113231139−17+3113136+17+3113131131817+311313,−7317+31131318−39+17+311323116−5317+31132318+17+311313116−13+217+3113233−17+3113231139−17+3113136+17+31131311318,317+311323−2−17+3113139−13+217+3113233−17+3113231139−17+3113136+17+3113131131817+311313,−7317+31131318−39+17+311323116−5317+31132318+17+311313116−13+217+3113233−17+3113231139−17+3113136+17+31131311318,33−13+217+3113233−17+3113231139−17+3113136+17+31131311318
nopsinc
3
The command with(geom3d,incident) allows the use of the abbreviated form of this command.
See Also
geom3d[faces]
geom3d[vertices]
Download Help Document