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
OpenFlipper-Free
Plugin-Topology
Commits
c8b1d1f7
Commit
c8b1d1f7
authored
Nov 16, 2015
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commented out unused variables
parent
b833b679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TopologyPlugin.cc
TopologyPlugin.cc
+4
-4
No files found.
TopologyPlugin.cc
View file @
c8b1d1f7
...
...
@@ -282,7 +282,7 @@ void TopologyPlugin::add_face(QMouseEvent* _event) {
++
fv_it
;
if
(
(
m
.
point
(
*
fv_it
)
-
hit_point
).
sqrnorm
()
<
shortest_distance
)
{
shortest_distance
=
(
m
.
point
(
*
fv_it
)
-
hit_point
).
sqrnorm
();
//
shortest_distance = (m.point(*fv_it) - hit_point).sqrnorm();
Unnecessary. Not used anymore after this point
closest
=
*
fv_it
;
}
...
...
@@ -635,7 +635,7 @@ void TopologyPlugin::flip_edge(QMouseEvent* _event) {
dist
=
ACG
::
Geometry
::
distPointLineSquared
(
hit_point
,
m
.
point
(
m
.
to_vertex_handle
(
e3
)),
m
.
point
(
m
.
from_vertex_handle
(
e3
)));
if
(
dist
<
min_dist
)
{
min_dist
=
dist
;
//
min_dist = dist;
Unnecessary. Not used after this point
closest_edge
=
m
.
edge_handle
(
e3
);
}
...
...
@@ -700,7 +700,7 @@ void TopologyPlugin::collapse_edge(QMouseEvent* _event) {
dist
=
ACG
::
Geometry
::
distPointLineSquared
(
hit_point
,
m
.
point
(
m
.
to_vertex_handle
(
e3
)),
m
.
point
(
m
.
from_vertex_handle
(
e3
)));
if
(
dist
<
min_dist
)
{
min_dist
=
dist
;
//
min_dist = dist;
Unnecessary. Not used after this point
closest_halfedge
=
e3
;
}
...
...
@@ -820,7 +820,7 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) {
m
.
point
(
m
.
from_vertex_handle
(
e3
)));
if
(
dist
<
min_dist
)
{
min_dist
=
dist
;
//
min_dist = dist;
Unnecessary. Not used after this point
closest_edge
=
m
.
edge_handle
(
e3
);
}
...
...
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