geom3d - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 3-D Euclidean : Polyhedra : geom3d/incident

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

withgeom3d:

Define a snub cube with center (0,0,0), radius of the in-sphere 1

SnubCubes,pointo,0,0,0,1

s

(1)

nopsverticess

24

(2)

Find the coordinates of vertices which are incident to the second vertex

incincidents,2

inc3313+217+311323317+311323113917+3113136+17+31131311318,7317+31131318+3917+311323116+5317+3113231817+31131311613+217+311323317+311323113917+3113136+17+31131311318,317+311323217+311313913+217+311323317+311323113917+3113136+17+3113131131817+311313,3313+217+311323317+311323113917+3113136+17+31131311318,317+311323217+311313913+217+311323317+311323113917+3113136+17+3113131131817+311313,7317+3113131839+17+3113231165317+31132318+17+31131311613+217+311323317+311323113917+3113136+17+31131311318,317+311323217+311313913+217+311323317+311323113917+3113136+17+3113131131817+311313,7317+3113131839+17+3113231165317+31132318+17+31131311613+217+311323317+311323113917+3113136+17+31131311318,3313+217+311323317+311323113917+3113136+17+31131311318

(3)

nopsinc

3

(4)

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

See Also

geom3d[faces]

geom3d[vertices]