convert/POLYGONS
convert GRID and MESH structures into POLYGONS
Calling Sequence
Parameters
Description
Examples
convert( p, POLYGONS )
p
-
PLOT3D structure; or GRID/MESH structure; or a list of GRID/MESH structures
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.
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
See Also
plot3d
plot3d[structure]
Download Help Document