incident - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


geom3d

  

incident

  

return the vertices incident to a given vertex of a polyhedron

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

incident(ngon, i)

Parameters

ngon

-

polyhedron

i

-

positive integer

Description

• 

The routine incident returns a list of vertices incident to the i-th vertex of the given polyhedron ngon.

Examples

> 

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

(1)
> 

nops⁡vertices⁡s

24

(2)

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

(3)
> 

nops⁡inc

3

(4)

The command with(geom3d,incident) allows the use of the abbreviated form of this command.

See Also

geom3d[faces]

geom3d[vertices]