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.
with⁡geom3d:
Define a snub cube with center (0,0,0), radius of the in-sphere 1
SnubCube⁡s,point⁡o,0,0,0,1
s
nops⁡vertices⁡s
24
Find the coordinates of vertices which are incident to the second vertex
inc≔incident⁡s,2
inc≔33⁢−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318,7⁢3⁢17+3⁢11⁢31318+39−17+3⁢11⁢323⁢116+5⁢3⁢17+3⁢11⁢32318−17+3⁢11⁢313⁢116−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318,3⁢17+3⁢11⁢323−2−17+3⁢11⁢3139⁢−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318⁢17+3⁢11⁢313,33⁢−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318,3⁢17+3⁢11⁢323−2−17+3⁢11⁢3139⁢−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318⁢17+3⁢11⁢313,−7⁢3⁢17+3⁢11⁢31318−39+17+3⁢11⁢323⁢116−5⁢3⁢17+3⁢11⁢32318+17+3⁢11⁢313⁢116−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318,3⁢17+3⁢11⁢323−2−17+3⁢11⁢3139⁢−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318⁢17+3⁢11⁢313,−7⁢3⁢17+3⁢11⁢31318−39+17+3⁢11⁢323⁢116−5⁢3⁢17+3⁢11⁢32318+17+3⁢11⁢313⁢116−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318,33⁢−13+2⁢17+3⁢11⁢3233−17+3⁢11⁢323⁢11⁢39−17+3⁢11⁢3136+17+3⁢11⁢313⁢11⁢318
nops⁡inc
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