geom3d[vertices] - return the vertices of a polyhedron
|
Calling Sequence
|
|
vertices(obj)
|
|
Description
|
|
•
|
The routine vertices returns a list of coordinates of vertices of the given polyhedron. It also returns the vertices of the vertex figure of a given polyhedron.
|
•
|
The command with(geom3d,vertices) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
Define a tetrahedron with center (1,2,3), radius of the circumsphere 4
>
|
|
| (1) |
>
|
|
![[[(4/3)*3^(1/2)+1, (4/3)*3^(1/2)+2, (4/3)*3^(1/2)+3], [(4/3)*3^(1/2)+1, -(4/3)*3^(1/2)+2, -(4/3)*3^(1/2)+3], [-(4/3)*3^(1/2)+1, (4/3)*3^(1/2)+2, -(4/3)*3^(1/2)+3], [-(4/3)*3^(1/2)+1, -(4/3)*3^(1/2)+2, (4/3)*3^(1/2)+3]]](/support/helpjp/helpview.aspx?si=5439/file04040/math63.png)
| (2) |
|
|
Download Help Document
Was this information helpful?