Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
9f909914
Commit
9f909914
authored
Oct 25, 2016
by
Jan Möbius
Browse files
Delete assignment operator to avoid cppcheck warning
parent
721d6f0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ACG/Geometry/Triangulator.hh
View file @
9f909914
...
...
@@ -80,7 +80,7 @@ public:
/** \brief Get number of triangles
* @return number of triangles after triangulation
*/
in
t
numTriangles
()
const
{
return
numTris_
;
}
size_
t
numTriangles
()
const
{
return
numTris_
;
}
/** \brief Get local vertex index
*
...
...
@@ -106,7 +106,7 @@ public:
* A reflex vertex is a vertex with an inner angle larger than 180 deg.
* @return number of reflex vertices
*/
in
t
numReflexVertices
()
const
{
return
numReflexVertices_
;
}
size_
t
numReflexVertices
()
const
{
return
numReflexVertices_
;
}
/** \brief Check if a vertex is reflex
*
...
...
@@ -134,8 +134,8 @@ private:
int
earClippingN3
();
// disable assignment operator
Triangulator
&
operator
=
(
const
Triangulator
&
)
{
return
*
this
;
}
// disable
implicit
assignment operator
Triangulator
&
operator
=
(
const
Triangulator
&
)
=
delete
;
float
triangleAreaSign
(
const
Vec2f
&
v0
,
const
Vec2f
&
v1
,
const
Vec2f
&
v2
)
const
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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