Debian Codegraph @

examples/Intergeo/testcases.html

raw ◀ ▶
2 Debian patches touch this file
1 <html>
2 <head>
3 <title>Intergeo test cases in JSXGraph</title>
•4 <link rel="stylesheet" type="text/css" href="/jsxgraph/distrib/jsxgraph.css" />
•5 <script type="text/javascript" src="/javascript/prototype/prototype.js"></script>
6 <script type="text/javascript" src="../../distrib/jsxgraphcore.js"></script></head>
7 <script type="text/javascript" src="../../src/IntergeoReader.js"></script></head>
8 <body>
9 <h2>Intergeo test cases in JSXGraph</h2>
10 <form><input type='button' value='Show XML' onclick='board.showXML()'></form>
11 <div id="jxgbox" class="jxgbox" style="width:800px; height:500px;"></div>
12 <div id="debug" style="display:block; margin-top:20px"></div>
13 <script type="text/javascript">
14 /* <![CDATA[ */
15 fname = 'linesegment.xml';
16 //-------- good ----------
17 //fname = 'all.i2g'; // ok (GEONExT example)
18 //fname = 'center_of_three_points.xml';
19 //fname = 'endpoints_of_line_segment.xml'; //fname = 'linesegment.xml';
20 //fname = 'midpoint_of_line_segment.xml';
21 //fname = 'line_segment_by_points.xml';
22 //fname = 'line_through_two_points.xml';
23 //fname = 'midpoint_of_two_points.xml';
24 //fname = 'parallel_perpendicular_through.xml';
25 //fname = 'tangents_to_circle.xml';
26 //fname = 'intersections_circles_line.xml';
27 //fname = 'other_intersections.xml';
28 //fname = 'intergeo1.xml';
29
30 //fname = 'locus_parabola.xml';
31 //fname = 'locus_shadow.xml';
32 //fname = 'locus_frequency_duplicator.xml';
33 //fname = 'locus_cardioid.xml';
34
35 //fname = 'point.xml';
36 //fname = 'free_point.xml';
37 //------- not good ---------
38
39 //------- open ---------
40
41 //fname = 'conic.xml';
42
43 //fname = 'locus_pacman.xml';
44 //fname = 'line.xml';
45 //fname = 'circle.xml';
46
47 //fname = 'conic.xml';
48 //fname = 'Points.i2g';
49 //fname = 'all.xml';
50
51 //------- new ---------
52 //fname = 'Examples2/lineangularbisectorofthreepoints.xml'; // ok
53 //fname = 'Examples2/line_angular_bisectors_of_two_lines.xml'; // ok
54 //fname = 'Examples2/polygon.xml'; // ok
55 //fname = 'Examples2/ray_from_point_through_point.xml'; // ok
56 //fname = 'Examples2/vector_from_point_to_point.xml'; // ok
57 //fname = 'Examples2/ray_from_point_and_vector.xml'; // ok
58 fname = 'Examples2/trigogenangleratios-vggb4.i2g'; //
59
60 //fname = 'stroke.xml';
61
62 $('debug').innerHTML = fname+'<br>';
63 board = JXG.JSXGraph.loadBoardFromFile('jxgbox', fname , 'Intergeo');
64 /* ]]> */
65 </script>
66 </body>
67 </html>