Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Amanda Ghassaei
OrigamiSimulator
Commits
37ebe5fa
Commit
37ebe5fa
authored
May 07, 2017
by
amandaghassaei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find intersections within set
parent
6e9d647d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
js/pattern.js
js/pattern.js
+5
-0
No files found.
js/pattern.js
View file @
37ebe5fa
...
...
@@ -646,16 +646,21 @@ function initPattern(globals){
}
function
findIntersections
(
_verticesRaw
,
_outlinesRaw
,
_mountainsRaw
,
_valleysRaw
,
_cutsRaw
,
_triangulationsRaw
){
findIntersectionsInSets
(
_verticesRaw
,
_outlinesRaw
,
_outlinesRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_outlinesRaw
,
_mountainsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_outlinesRaw
,
_valleysRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_outlinesRaw
,
_cutsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_outlinesRaw
,
_triangulationsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_mountainsRaw
,
_mountainsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_mountainsRaw
,
_valleysRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_mountainsRaw
,
_cutsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_mountainsRaw
,
_triangulationsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_valleysRaw
,
_valleysRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_valleysRaw
,
_cutsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_valleysRaw
,
_triangulationsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_cutsRaw
,
_cutsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_cutsRaw
,
_triangulationsRaw
);
findIntersectionsInSets
(
_verticesRaw
,
_triangulationsRaw
,
_triangulationsRaw
);
}
function
findIntersectionsInSets
(
_verticesRaw
,
set1
,
set2
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment