Skip to content

Commit

Permalink
deleted knot array
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleli04 committed Feb 7, 2024
1 parent e0eef50 commit 6a14e33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/tangent_vectors_geom_bspline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ std::vector<gp_Vec> calculate_tangent_vectors(const Handle(Geom_BSplineCurve)& b
gp_Pnt point;
int knots = bsplineCurve->NbKnots();
Standard_Real step_size = 1 / knots;
TColStd_Array1OfReal knotsArray(1, knots);
Standard_Real first_parameter = bsplineCurve->FirstParameter();
Standard_Real last_parameter = bsplineCurve->LastParameter();
for (int u = first_parameter; u < last_parameter; u += step_size) {
Expand Down

0 comments on commit 6a14e33

Please sign in to comment.