Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tools
frackit
Commits
8ce76d8b
Commit
8ce76d8b
authored
Jan 27, 2020
by
Dennis Gläser
Browse files
[example1] avoid obsolete code duplicate
parent
8fcad32d
Changes
1
Hide whitespace changes
Inline
Side-by-side
appl/example1/example1.cc
View file @
8ce76d8b
...
...
@@ -71,11 +71,8 @@ int main()
constraintsOnSelf
.
setMinIntersectionDistance
(
0.05
);
// with respect to entities of the other set, we want to have larger intersection angles
EntityNetworkConstraints
constraintsOnOther
;
constraintsOnOther
.
setMinDistance
(
0.05
);
auto
constraintsOnOther
=
constraintsOnSelf
;
constraintsOnOther
.
setMinIntersectingAngle
(
toRadians
(
40.0
));
constraintsOnOther
.
setMinIntersectionMagnitude
(
0.05
);
constraintsOnOther
.
setMinIntersectionDistance
(
0.05
);
// container to store created entities
std
::
vector
<
Quad
>
entitySet1
;
...
...
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