ASPL 1> egCwhoami
ping the element grouping class container.
The container echoes back whoami saying it is active for this workspace POLY3CLOUDS whose
groupingclass is GEOSPHERES
ASPL 2> ks x1 y1 z1 x2 y2 z2 x3 y3 z3
set the ks vector to the attributes: x1 y1 z1 x2 y2 z2 x3 y3 z3
ASPL 3> S123_100 = ggRPO3Sov(N,100,hurst,2.37,glb1,S1,glb2,S2,glb3,S3,nmfl,S123_100)
assign the set variable 'S123_100' to the GG function ggRPO3Sov() for 100 random polygons
with hurst 2.37 and label the groups with S1, S2, and S3. Each group contains 100 random polygons.
Specifying "nmfl" causes to create named files using the prefix name 'S123_100' for the data structures of all the groups.
These files are created in ASPL ~tmp directory.
ASPL 4> split S123_100 into S1 S2 S3
split the groups in the variable S123_100 into three set variables: S1, S2, and S3
ASPL 5> v
display the symbol table
ASPL 6> f& S1 S2
get the intersections of the elements between S1 and S2
ASPL 7> f& S1 S3
get the intersections of the elements between S1 and S3
ASPL 8> f& S2 S3
get the intersections of the elements between S2 and S3
ASPL 9> f& S1 S2 S3
get the intersections of the elements between S1 S2 and S3
ASPL 10> ans
display the answer stack
ASPL 11> pop S123
pop the top of stack into variable S123
ASPL 12> pop S23
pop the top of stack into variable S23
ASPL 13> pop S13
pop the top of stack into variable S13
ASPL 14> pop S12
pop the top of stack into variable S12
ASPL 15> pop S23
pop the top of stack into variable S23
ASPL 16> ans
display the answer stack
ASPL 17> v
display the symbol table
ASPL 18> dumpgad S123
dumpgad dumps the variable S123 in ASPL ~tmp directory. GEO dumped files end with the suffix -geogad-aspl.tobj
ASPL 19> dumpgad S12
dumpgad dumps the variable S12 in ASPL ~tmp directory.
ASPL 20> dumpgad S23
dumpgad dumps the variable S23 in ASPL ~tmp directory.
ASPL 21> dumpgad S123_100
dumpgad dumps variable S123_100 in ASPL ~tmp directory. GEO dumped files end with the suffix -geogad-aspl.tobj
and in this example the file S123_100-geogad-aspl.tobj is created in ~tmp. You can draw the data in this
file using the command "drawgad -gad S123_100-geogad-aspl.tobj"
ASPL 22> bye
quit ASPL saving the workspace