plottools
cutin
perform contraction on polygon faces
Calling Sequence
Parameters
Description
Examples
cutin(p, r)
cutin([p1, p2, ... ], r)
p
-
POLYGONS structure or a list thereof
r
ratio of similarity, ranges from 0 to 1
For each polygon in a given POLYGONS structure, this command contracts the polygon by replacing it by a new polygon, which is similar to the original and its center and orientation are the same as the original. The ratio of similarity is specified with the parameter r.
This command produces a POLYGONS object, which can be used in a PLOT3D data structure, or displayed using the plots:-display command.
The cutin command forces a display style of PATCHNOGRID. Other options to style are ignored.
with⁡plottools:
with⁡plots:
display⁡cutin⁡dodecahedron⁡,23,shading=zhue
p≔convert⁡plot3d⁡sin⁡x⁢y,x=−1..1,y=−1..1,grid=15,15,POLYGONS:
display⁡cutin⁡p,23,axes=frame,lightmodel=light1,orientation=150,85
See Also
convert/POLYGONS
plot3d
plot3d/structure
plots:-display
plottools:-cutout
Download Help Document