Skip to content

Commit

Permalink
optimized intersection
Browse files Browse the repository at this point in the history
  • Loading branch information
WimBast committed Jul 13, 2024
1 parent c9b447b commit f4014e4
Showing 1 changed file with 43 additions and 37 deletions.
80 changes: 43 additions & 37 deletions languages/DclareGui/models/DclareGui.rules.mps
Original file line number Diff line number Diff line change
Expand Up @@ -1895,24 +1895,19 @@
</node>
<node concept="3cpWs8" id="6C$lCtKHJjs" role="3cqZAp">
<node concept="3cpWsn" id="6C$lCtKHJjt" role="3cpWs9">
<property role="TrG5h" value="u" />
<property role="TrG5h" value="v" />
<node concept="3LmiP1" id="6C$lCtKHHO8" role="1tU5fm">
<ref role="2XDbjv" node="4NMtPTvGW7r" resolve="DPoint" />
</node>
<node concept="2OqwBi" id="6C$lCtKHJju" role="33vP2m">
<node concept="2OqwBi" id="6C$lCtKHJjv" role="2Oq$k0">
<node concept="37vLTw" id="6C$lCtKHJjw" role="2Oq$k0">
<ref role="3cqZAo" node="1bLYJ3eE75c" resolve="p" />
</node>
<node concept="2$Gk$L" id="6C$lCtKHJjx" role="2OqNvi">
<ref role="37wK5l" node="2xAA8jfB2rY" resolve="minus" />
<node concept="37vLTw" id="6C$lCtKHJjy" role="37wK5m">
<ref role="3cqZAo" node="6C$lCtGxgDR" resolve="c" />
</node>
</node>
<node concept="2OqwBi" id="6C$lCtKHJjv" role="33vP2m">
<node concept="37vLTw" id="6C$lCtKHJjw" role="2Oq$k0">
<ref role="3cqZAo" node="1bLYJ3eE75c" resolve="point" />
</node>
<node concept="32jkxy" id="6C$lCtKHJjz" role="2OqNvi">
<ref role="3cqZAo" node="2xAA8jfBn6l" resolve="unit" />
<node concept="2$Gk$L" id="6C$lCtKHJjx" role="2OqNvi">
<ref role="37wK5l" node="2xAA8jfB2rY" resolve="minus" />
<node concept="37vLTw" id="6C$lCtKHJjy" role="37wK5m">
<ref role="3cqZAo" node="6C$lCtGxgDR" resolve="c" />
</node>
</node>
</node>
</node>
Expand All @@ -1927,12 +1922,12 @@
<node concept="2OqwBi" id="6C$lCtKXGvR" role="2Oq$k0">
<node concept="2$Gk$L" id="6C$lCtKXHjU" role="2OqNvi">
<ref role="37wK5l" node="3sOksCoz8uq" resolve="div" />
<node concept="37vLTw" id="6C$lCtKXHOa" role="37wK5m">
<ref role="3cqZAo" node="6C$lCtKHJjt" resolve="u" />
<node concept="1SfVH9" id="FYCfm5$TOE" role="37wK5m">
<ref role="3cqZAo" node="2h1RSEu0HUi" resolve="half" />
</node>
</node>
<node concept="1SfVH9" id="6C$lCtKXZ8K" role="2Oq$k0">
<ref role="3cqZAo" node="2h1RSEu0HUi" resolve="half" />
<node concept="37vLTw" id="FYCfm5$RFG" role="2Oq$k0">
<ref role="3cqZAo" node="6C$lCtKHJjt" resolve="v" />
</node>
</node>
<node concept="2$Gk$L" id="6C$lCtKXJ1t" role="2OqNvi">
Expand All @@ -1953,23 +1948,23 @@
<ref role="3cqZAo" node="6C$lCtKHJjt" resolve="u" />
</node>
<node concept="2$Gk$L" id="6C$lCtKPPD0" role="2OqNvi">
<ref role="37wK5l" node="2xAA8jfB2O5" resolve="mult" />
<node concept="2YIFZM" id="6C$lCtKPRWM" role="37wK5m">
<ref role="37wK5l" to="wyt6:~Math.min(double,double)" resolve="min" />
<ref role="37wK5l" node="2xAA8jfBhgV" resolve="div" />
<node concept="2YIFZM" id="FYCfm5$V5U" role="37wK5m">
<ref role="37wK5l" to="wyt6:~Math.max(double,double)" resolve="max" />
<ref role="1Pybhc" to="wyt6:~Math" resolve="Math" />
<node concept="2OqwBi" id="6C$lCtKXJNj" role="37wK5m">
<node concept="37vLTw" id="6C$lCtKXJBE" role="2Oq$k0">
<node concept="2OqwBi" id="FYCfm5$V5V" role="37wK5m">
<node concept="37vLTw" id="FYCfm5$V5W" role="2Oq$k0">
<ref role="3cqZAo" node="6C$lCtKXD0H" resolve="d" />
</node>
<node concept="32jkxy" id="6C$lCtKXLGT" role="2OqNvi">
<node concept="32jkxy" id="FYCfm5$V5X" role="2OqNvi">
<ref role="3cqZAo" node="4NMtPTvGW7s" resolve="x" />
</node>
</node>
<node concept="2OqwBi" id="6C$lCtKXNCd" role="37wK5m">
<node concept="37vLTw" id="6C$lCtKXNhQ" role="2Oq$k0">
<node concept="2OqwBi" id="FYCfm5$V5Y" role="37wK5m">
<node concept="37vLTw" id="FYCfm5$V5Z" role="2Oq$k0">
<ref role="3cqZAo" node="6C$lCtKXD0H" resolve="d" />
</node>
<node concept="32jkxy" id="6C$lCtKXOoo" role="2OqNvi">
<node concept="32jkxy" id="FYCfm5$V60" role="2OqNvi">
<ref role="3cqZAo" node="4NMtPTvGXWc" resolve="y" />
</node>
</node>
Expand Down Expand Up @@ -6796,6 +6791,25 @@
</node>
</node>
</node>
<node concept="3cpWs8" id="FYCfm6dDqg" role="3cqZAp">
<node concept="3cpWsn" id="FYCfm6dDqh" role="3cpWs9">
<property role="TrG5h" value="v" />
<node concept="3LmiP1" id="FYCfm6d_XS" role="1tU5fm">
<ref role="2XDbjv" node="4NMtPTvGW7r" resolve="DPoint" />
</node>
<node concept="2OqwBi" id="FYCfm6dDqi" role="33vP2m">
<node concept="37vLTw" id="FYCfm6dDqj" role="2Oq$k0">
<ref role="3cqZAo" node="10mRasGtHMm" resolve="point" />
</node>
<node concept="2$Gk$L" id="FYCfm6dDqk" role="2OqNvi">
<ref role="37wK5l" node="2xAA8jfB2rY" resolve="minus" />
<node concept="37vLTw" id="FYCfm6dDql" role="37wK5m">
<ref role="3cqZAo" node="3SChBIG6GTT" resolve="c" />
</node>
</node>
</node>
</node>
</node>
<node concept="3clFbF" id="3SChBIH8_Tn" role="3cqZAp">
<node concept="2OqwBi" id="5sMhwdtE_3x" role="3clFbG">
<node concept="37vLTw" id="3SChBIG6GTW" role="2Oq$k0">
Expand All @@ -6811,16 +6825,8 @@
</node>
</node>
<node concept="2OqwBi" id="3SChBIG6BYD" role="2Oq$k0">
<node concept="2OqwBi" id="3SChBIG6BYE" role="2Oq$k0">
<node concept="37vLTw" id="3SChBIG6BYF" role="2Oq$k0">
<ref role="3cqZAo" node="10mRasGtHMm" resolve="outside" />
</node>
<node concept="2$Gk$L" id="3SChBIG6BYG" role="2OqNvi">
<ref role="37wK5l" node="2xAA8jfB2rY" resolve="minus" />
<node concept="37vLTw" id="3SChBIG6GTV" role="37wK5m">
<ref role="3cqZAo" node="3SChBIG6GTT" resolve="c" />
</node>
</node>
<node concept="37vLTw" id="FYCfm6dDqm" role="2Oq$k0">
<ref role="3cqZAo" node="FYCfm6dDqh" resolve="minus" />
</node>
<node concept="32jkxy" id="3SChBIG6BYI" role="2OqNvi">
<ref role="3cqZAo" node="2xAA8jfBn6l" resolve="unit" />
Expand Down

0 comments on commit f4014e4

Please sign in to comment.