Commit 2af82cd7 authored by Andreas Zilian's avatar Andreas Zilian
Browse files

Add norm function to line definitions.

parent 722d7feb
......@@ -25,16 +25,16 @@ gp6 = mgen.MgGeoPoint( [0*d, 8*d] );
gp7 = mgen.MgGeoPoint( [4*d, 8*d] );
gp8 = mgen.MgGeoPoint( [8*d, 8*d] );
% create all geo lines
gl1 = mgen.MgGeoLine2Point( [gp1, gp2], 4*n );
gl2 = mgen.MgGeoLine2Point( [gp3, gp4], 2 );
gl3 = mgen.MgGeoLine2Point( [gp6, gp7], 2 );
gl4 = mgen.MgGeoLine2Point( [gp4, gp5], 4*n );
gl5 = mgen.MgGeoLine2Point( [gp7, gp8], 2 );
gl6 = mgen.MgGeoLine2Point( [gp1, gp3], 3*n );
gl7 = mgen.MgGeoLine2Point( [gp2, gp4], 2 );
gl8 = mgen.MgGeoLine2Point( [gp3, gp6], 5*n );
gl9 = mgen.MgGeoLine2Point( [gp4, gp7], 2 );
gl10 = mgen.MgGeoLine2Point( [gp8, gp5], 2 );
gl1 = mgen.MgGeoLine2Point( [gp1, gp2], 4*n, nf2 );
gl2 = mgen.MgGeoLine2Point( [gp3, gp4], 2, nf2 );
gl3 = mgen.MgGeoLine2Point( [gp6, gp7], 2, nf2 );
gl4 = mgen.MgGeoLine2Point( [gp4, gp5], 4*n, nf1 );
gl5 = mgen.MgGeoLine2Point( [gp7, gp8], 2, nf1 );
gl6 = mgen.MgGeoLine2Point( [gp1, gp3], 3*n, nf2 );
gl7 = mgen.MgGeoLine2Point( [gp2, gp4], 2, nf2 );
gl8 = mgen.MgGeoLine2Point( [gp3, gp6], 5*n, nf1 );
gl9 = mgen.MgGeoLine2Point( [gp4, gp7], 2, nf1 );
gl10 = mgen.MgGeoLine2Point( [gp8, gp5], 2, nf2 );
% create all geo areas
ga1 = mgen.MgGeoArea4Line( [gl1, gl7, gl2, gl6] );
ga2 = mgen.MgGeoArea4Line( [gl2, gl9, gl3, gl8] );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment