( ** Go back to PARENTPAGE ../RANDOM-POLYGONS-IN-2D-PLANES.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

Workspace POLY3PLANES commands to do blablabla

Three 2D planes contain polygons Geometric set operations are possible Turn ASPL set operators into geometric set operators Geometric set operations How to do set operations between 2D planes to select the intersecting polygons and to isolate the non-intersecting polygons. ASPL operators can be used in GEO workspaces to turn f& and f\ into geometric set operators to do contextual set operations on geometric data.

ASPL 1> egCwhoami
ping the GEOPLANES container, this is informational

ASPL 2> ks x1 y1 x2 y2 x3 y3
set the ks vector to shorten the displayed data

ASPL 3> T123_70 = ggRPI3Pov(N,70,glb1,T1,glb2,T2,glb3,T3,nmfl,T123_70)
get random polygons in 3 planes also generate named data in ~tmp

ASPL 4> split T123_70 into T1 T2 T3
split the variable T123_70 for the three planes

ASPL 5> f& T1 T2 T3
intersect the three planes

ASPL 6> f\ T1 T2 T3
get the difference between 1st plane and the other two planes

ASPL 7> ans
see the answer stack

ASPL 8> pop T1_23
pop the stack result into variable T1_23

ASPL 9> pop T123
pop the stack result into variable T123

ASPL 10> ans
see the answer stack

ASPL 11> v
display the variables in the symbol table

ASPL 12> dumpgad T123_70
dump GADg of T123_70 writing it to a file in ~tmp directory

ASPL 13> dumpgad T1_23
dump GADg of T1_23 writing it to a file in ~tmp directory

ASPL 14> dumpgad T123
dump GADg of T123 writing it to a file in ~tmp directory

ASPL 15> hs
see history of commands

ASPL 16> bye
this will save everything and quit.. sweet!