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

Online Help

All Products    Maple    MapleSim


convert/POLYGONS

convert GRID and MESH structures into POLYGONS

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert( p, POLYGONS )

convert( p, POLYGONS )

Parameters

p

-

PLOT3D structure; or GRID/MESH structure; or a list of GRID/MESH structures

Description

• 

This routine converts MESH and GRID structures into POLYGONS structures. If the first argument is a GRID or MESH structure, then the result is a equivalent POLYGONS structure; if p is a list of GRID and MESH structures, then the result is a list of corresponding POLYGONS structures; if p is a PLOT3D structure, then the result is a list of POLYGONS structures corresponding to GRID and MESH structures in p.

Examples

> 

p≔plot3d⁡sin⁡x⁢y,x=−1..1,y=−1..1,grid=3,3:

> 

p2≔convert⁡p,POLYGONS:

> 

m≔MESH⁡1,2,3,4,5,6,7,8,9,1,2,3:

> 

convert⁡m,POLYGONS

POLYGONS⁡1,2,3,4,5,6,1,2,3,7,8,9

(1)

See Also

plot3d

plot3d[structure]