cutout - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


plottools

  

cutout

  

cut windows in POLYGONS

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

cutout(p, r)

cutout([p1, p2, ... ], r)

Parameters

p

-

POLYGONS structure or a list thereof

r

-

cut ratio, ranging from 0 to 1

Description

• 

For each polygon in a given POLYGONS structure, this command cuts out a smaller polygon from the middle of the given one. The polygon being cut out 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 complements the cutin command.

• 

This command produces a POLYGONS object, which can be used in a PLOT3D data structure, or displayed using the plots:-display command.

• 

The cutout command forces a display style of PATCHNOGRID. Other options to style are ignored.

Examples

withplottools:

withplots:

displaycutoutoctahedron1,1,1,13

pconvertplot3dsinxy,x=2..2,y=1..1,grid=4,4,POLYGONS:

displaycutoutp,13,axes=frame,orientation=30,70

pdisplaycutouttetrahedron0,0,0,34:

a0,π,0,0,0,π,π,0,0,π,π,0,π,0,π,0,π,π,π,π,π,0,0,0:

displayseqrotatep,opi,i=a,scaling=constrained,shading=zgrayscale,lightmodel=light2

See Also

convert/POLYGONS

plot3d

plot3d/structure

plots:-display

plottools:-cutin