# HG changeset patch
# User Edouard Tisserant
# Date 1582908755 -3600
# Node ID 61548f7d1befd098d8476c61223f65487f09f2d2
# Parent eee5dcd9fc928a9cc3294a3c20793ab934fc76b3
SVGHMI : documentation for new geometry intersection computation code + little fixes...
diff -r eee5dcd9fc92 -r 61548f7d1bef svghmi/gen_index_xhtml.xslt
--- a/svghmi/gen_index_xhtml.xslt Fri Feb 28 16:09:21 2020 +0100
+++ b/svghmi/gen_index_xhtml.xslt Fri Feb 28 17:52:35 2020 +0100
@@ -75,7 +75,10 @@
-
+
+
+
+
@@ -89,7 +92,7 @@
-
+
@@ -100,7 +103,8 @@
-
+
+
diff -r eee5dcd9fc92 -r 61548f7d1bef svghmi/gen_index_xhtml.ysl2
--- a/svghmi/gen_index_xhtml.ysl2 Fri Feb 28 16:09:21 2020 +0100
+++ b/svghmi/gen_index_xhtml.ysl2 Fri Feb 28 17:52:35 2020 +0100
@@ -78,6 +78,7 @@
param "elems";
const "descend", "$elems/descendant-or-self::svg:*";
const "clones", "$descend[self::svg:use]";
+ // TODO optimize using Xpath' id()
const "originals", "//svg:*[concat('#',@id) = $clones/@xlink:href]";
choose {
when "$originals"
@@ -98,16 +99,89 @@
const "d1", "$a1 >= $b1";
choose {
when "not($d0) and $d1"
- result "3"; /* a included in b */
+ // b contained in a
+ // a0 0]";
+ */
}
def "func:sumarized_elements" {