Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Type-BSpline
Commits
3a295862
Commit
3a295862
authored
Feb 07, 2017
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cppcheck warnings
parent
0d021bac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
ObjectTypes/Knotvector/KnotvectorT.cc
ObjectTypes/Knotvector/KnotvectorT.cc
+7
-13
No files found.
ObjectTypes/Knotvector/KnotvectorT.cc
View file @
3a295862
...
...
@@ -65,9 +65,8 @@ namespace ACG {
template
<
typename
Scalar
>
KnotvectorT
<
Scalar
>::
KnotvectorT
()
:
ref_count_selections_
(
0
)
:
ref_count_selections_
(
0
)
,
knotvectorType_
(
UNIFORM_INTERPOL
),
num_control_points_
(
0
),
spline_degree_
(
0
)
{
knotvectorType_
=
UNIFORM_INTERPOL
;
}
//-----------------------------------------------------------------------------
...
...
@@ -75,19 +74,14 @@ KnotvectorT()
template
<
typename
Scalar
>
KnotvectorT
<
Scalar
>::
KnotvectorT
(
const
KnotvectorT
&
_knotvec
)
:
selections_
(
_knotvec
.
selections_
),
ref_count_selections_
(
_knotvec
.
ref_count_selections_
),
knots_
(
_knotvec
.
knots_
),
knotvectorType_
(
_knotvec
.
knotvectorType_
),
num_control_points_
(
_knotvec
.
num_control_points_
),
spline_degree_
(
_knotvec
.
spline_degree_
)
{
knots_
=
_knotvec
.
knots_
;
// properties
selections_
=
_knotvec
.
selections_
;
// property reference counter
ref_count_selections_
=
_knotvec
.
ref_count_selections_
;
knotvectorType_
=
_knotvec
.
knotvectorType_
;
num_control_points_
=
_knotvec
.
num_control_points_
;
spline_degree_
=
_knotvec
.
spline_degree_
;
}
//-----------------------------------------------------------------------------
...
...
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