13 #ifndef fit_container_test_suite_hpp
14 #define fit_container_test_suite_hpp
23 template<
typename data__>
81 template<
typename it__>
84 for (
size_t i=0; i<npts; ++i, ++it)
86 typename it__::value_type p(3);
98 fit_container_type ccon;
99 std::vector<point_type> points(20);
103 ccon.
set_points(points.begin(), points.end());
112 int index1(2), index2(5);
113 fit_container_type ccon;
115 constraint_info ciout;
116 std::vector<point_type> points(20);
120 ccon.
set_points(points.begin(), points.end());
165 int index1(2), index2(5), index3(4);
166 vector_type v(3), vout(3);
167 fit_container_type ccon;
169 constraint_info ciout;
170 std::vector<point_type> points(20);
174 ccon.
set_points(points.begin(), points.end());
177 v[0]=1; v[1]=2; v[2]=3;
188 TEST_ASSERT((vout[0]==v[0]) && (vout[1]==v[1]) && (vout[2]==v[2]));
206 TEST_ASSERT((vout[0]==v[0]) && (vout[1]==v[1]) && (vout[2]==v[2]));
220 TEST_ASSERT((vout[0]==v[0]) && (vout[1]==v[1]) && (vout[2]==v[2]));
238 TEST_ASSERT_DELTA(vout[0], v[0], 2e-2);
239 TEST_ASSERT_DELTA(vout[1], v[1], 5e-3);
240 TEST_ASSERT(vout[2]==v[2]);
246 int index1(2), index2(5), index3(4), index4(6);
247 vector_type v1(3), v2(3), v1out(3), v2out(3);
248 fit_container_type ccon;
250 constraint_info ciout;
251 std::vector<point_type> points(20);
255 ccon.
set_points(points.begin(), points.end());
258 v1[0]=1; v1[1]=2; v1[2]=3;
259 v2[0]=0; v2[1]=-1; v2[2]=-2;
271 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
273 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
291 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
293 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
307 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
309 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
327 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
329 TEST_ASSERT_DELTA(v2out[0], v2[0], 4*std::numeric_limits<data__>::epsilon());
330 TEST_ASSERT_DELTA(v2out[1], v2[1], 11*std::numeric_limits<data__>::epsilon());
331 TEST_ASSERT(v2out[2]==v2[2]);
352 TEST_ASSERT_DELTA(v1out[0], v1[0], 2e-2);
353 TEST_ASSERT_DELTA(v1out[1], v1[1], 5e-3);
354 TEST_ASSERT(v1out[2]==v1[2]);
356 TEST_ASSERT_DELTA(v2out[0], v2[0], 11*std::numeric_limits<data__>::epsilon());
357 TEST_ASSERT_DELTA(v2out[1], v2[1], 15*std::numeric_limits<data__>::epsilon());
358 TEST_ASSERT(v2out[2]==v2[2]);
364 vector_type v1(3), v2(3), v1out(3), v2out(3);
365 fit_container_type ccon;
367 constraint_info ciout;
368 std::vector<point_type> points(20);
371 v1[0]=1; v1[1]=2; v1[2]=3;
372 v2[0]=0; v2[1]=-1; v2[2]=-2;
376 ccon.
set_points(points.begin(), points.end());
416 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
431 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
447 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
449 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
464 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
466 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
483 TEST_ASSERT_DELTA(v1out[0], v1[0], 8e-3);
484 TEST_ASSERT_DELTA(v1out[1], v1[1], 4e-2);
485 TEST_ASSERT(v1out[2]==v1[2]);
503 TEST_ASSERT_DELTA(v1out[0], v1[0], 2e-2);
504 TEST_ASSERT_DELTA(v1out[1], v1[1], 4e-2);
505 TEST_ASSERT(v1out[2]==v1[2]);
509 v1[0]=1; v1[1]=2; v1[2]=3;
525 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
527 TEST_ASSERT_DELTA(v2out[0], v2[0], 1e-1);
528 TEST_ASSERT_DELTA(v2out[1], v2[1], 4e-2);
529 TEST_ASSERT(v2out[2]==v2[2]);
532 v1[0]=1; v1[1]=2; v1[2]=3;
548 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
550 TEST_ASSERT_DELTA(v2out[0], v2[0], 8e-2);
551 TEST_ASSERT_DELTA(v2out[1], v2[1], 6e-2);
552 TEST_ASSERT(v2out[2]==v2[2]);
573 TEST_ASSERT_DELTA(v1out[0], v1[0], 8e-3);
574 TEST_ASSERT_DELTA(v1out[1], v1[1], 4e-2);
575 TEST_ASSERT(v1out[2]==v1[2]);
577 TEST_ASSERT_DELTA(v2out[0], v2[0], 1e-1);
578 TEST_ASSERT_DELTA(v2out[1], v2[1], 4e-2);
579 TEST_ASSERT(v2out[2]==v2[2]);
600 TEST_ASSERT_DELTA(v1out[0], v1[0], 2e-2);
601 TEST_ASSERT_DELTA(v1out[1], v1[1], 4e-2);
602 TEST_ASSERT(v1out[2]==v1[2]);
604 TEST_ASSERT_DELTA(v2out[0], v2[0], 8e-2);
605 TEST_ASSERT_DELTA(v2out[1], v2[1], 6e-2);
606 TEST_ASSERT(v2out[2]==v2[2]);
613 int index1(2), index;
614 vector_type v1(3), v2(3), v1out(3), v2out(3);
615 fit_container_type ccon;
617 constraint_info ciout;
618 std::vector<point_type> points(20);
622 ccon.
set_points(points.begin(), points.end());
625 v1[0]=1; v1[1]=2; v1[2]=3;
626 v2[0]=0; v2[1]=-1; v2[2]=-2;
650 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
652 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
661 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
663 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
672 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
674 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
678 TEST_ASSERT(ccon.
closed());
686 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
696 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
698 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
707 TEST_ASSERT((v1out[0]==v1[0]) && (v1out[1]==v1[1]) && (v1out[2]==v1[2]));
709 TEST_ASSERT((v2out[0]==v2[0]) && (v2out[1]==v2[1]) && (v2out[2]==v2[2]));
714 int index0, index1, indexnm2, indexnm1;
715 vector_type vp(3), vp0(3), vp1(3), vpnm2(3), vpnm1(3);
716 fit_container_type ccon;
718 constraint_info ciout;
719 std::vector<point_type> points(20);
724 ccon.
set_points(points.begin(), points.end());
729 indexnm2=
static_cast<int>(points.size())-2;
730 indexnm1=
static_cast<int>(points.size())-1;
735 vp0(0)=-std::sin(t0);
738 vp1(0)=-std::sin(t1);
741 vpnm2(0)=-std::sin(tnm2);
742 vpnm2(1)=std::cos(tnm2);
744 vpnm1(0)=-std::sin(tnm1);
745 vpnm1(1)=std::cos(tnm1);
777 TEST_ASSERT_DELTA(vp(0), vp0(0), 8e-3);
778 TEST_ASSERT_DELTA(vp(1), vp0(1), 4e-2);
779 TEST_ASSERT(vp(2)==vp0(2));
785 TEST_ASSERT_DELTA(vp(0), vp1(0), 4e-3);
786 TEST_ASSERT_DELTA(vp(1), vp1(1), 2e-2);
787 TEST_ASSERT(vp(2)==vp1(2));
793 TEST_ASSERT_DELTA(vp(0), vpnm2(0), 8e-3);
794 TEST_ASSERT_DELTA(vp(1), vpnm2(1), 1e-2);
795 TEST_ASSERT(vp(2)==vpnm2(2));
801 TEST_ASSERT_DELTA(vp(0), vpnm1(0), 2e-2);
802 TEST_ASSERT_DELTA(vp(1), vpnm1(1), 4e-2);
803 TEST_ASSERT(vp(2)==vpnm1(2));
808 TEST_ASSERT(ccon.
closed());
815 TEST_ASSERT_DELTA(vp(0), vp0(0), 4e-1);
816 TEST_ASSERT_DELTA(vp(1), vp0(1), 2e-1);
817 TEST_ASSERT(vp(2)==vp0(2));
823 TEST_ASSERT_DELTA(vp(0), vp1(0), 4e-3);
824 TEST_ASSERT_DELTA(vp(1), vp1(1), 2e-2);
825 TEST_ASSERT(vp(2)==vp1(2));
831 TEST_ASSERT_DELTA(vp(0), vpnm2(0), 8e-3);
832 TEST_ASSERT_DELTA(vp(1), vpnm2(1), 1e-2);
833 TEST_ASSERT(vp(2)==vpnm2(2));
839 TEST_ASSERT_DELTA(vp(0), vpnm1(0), 4e-1);
840 TEST_ASSERT_DELTA(vp(1), vpnm1(1), 2e-1);
841 TEST_ASSERT(vp(2)==vpnm1(2));
847 int index0, index1, indexnm2, indexnm1;
848 vector_type v1(3), vp(3), vpp(3), vpp0(3), vpp1(3), vppnm2(3), vppnm1(3);
849 fit_container_type ccon;
851 constraint_info ciout;
852 std::vector<point_type> points(20);
857 ccon.
set_points(points.begin(), points.end());
860 v1(0)=1; v1(1)=2; v1(2)=3;
863 indexnm2=
static_cast<int>(points.size())-2;
864 indexnm1=
static_cast<int>(points.size())-1;
869 vpp0(0)=-std::cos(t0);
870 vpp0(1)=-std::sin(t0);
872 vpp1(0)=-std::cos(t1);
873 vpp1(1)=-std::sin(t1);
875 vppnm2(0)=-std::cos(tnm2);
876 vppnm2(1)=-std::sin(tnm2);
878 vppnm1(0)=-std::cos(tnm1);
879 vppnm1(1)=-std::sin(tnm1);
912 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
914 TEST_ASSERT_DELTA(vpp(0), vpp0(0), 1e-1);
915 TEST_ASSERT_DELTA(vpp(1), vpp0(1), 4e-2);
916 TEST_ASSERT(vpp(2)==vpp0(2));
922 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
924 TEST_ASSERT_DELTA(vpp(0), vpp1(0), 16*std::numeric_limits<data__>::epsilon());
925 TEST_ASSERT_DELTA(vpp(1), vpp1(1), 11*std::numeric_limits<data__>::epsilon());
926 TEST_ASSERT(vpp(2)==vpp1(2));
932 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
934 TEST_ASSERT_DELTA(vpp(0), vppnm2(0), 33*std::numeric_limits<data__>::epsilon());
935 TEST_ASSERT_DELTA(vpp(1), vppnm2(1), 33*std::numeric_limits<data__>::epsilon());
936 TEST_ASSERT(vpp(2)==vppnm2(2));
942 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
944 TEST_ASSERT_DELTA(vpp(0), vppnm1(0), 8e-2);
945 TEST_ASSERT_DELTA(vpp(1), vppnm1(1), 6e-2);
946 TEST_ASSERT(vpp(2)==vppnm1(2));
950 TEST_ASSERT(ccon.
closed());
958 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
960 TEST_ASSERT_DELTA(vpp(0), vpp0(0), 3.5);
961 TEST_ASSERT_DELTA(vpp(1), vpp0(1), 1.4);
962 TEST_ASSERT(vpp(2)==vpp0(2));
968 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
970 TEST_ASSERT_DELTA(vpp(0), vpp1(0), 16*std::numeric_limits<data__>::epsilon());
971 TEST_ASSERT_DELTA(vpp(1), vpp1(1), 16*std::numeric_limits<data__>::epsilon());
972 TEST_ASSERT(vpp(2)==vpp1(2));
978 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
980 TEST_ASSERT_DELTA(vpp(0), vppnm2(0), 33*std::numeric_limits<data__>::epsilon());
981 TEST_ASSERT_DELTA(vpp(1), vppnm2(1), 33*std::numeric_limits<data__>::epsilon());
982 TEST_ASSERT(vpp(2)==vppnm2(2));
988 TEST_ASSERT((vp(0)==v1(0)) && (vp(1)==v1(1)) && (vp(2)==v1(2)));
990 TEST_ASSERT_DELTA(vpp(0), vppnm1(0), 3.0);
991 TEST_ASSERT_DELTA(vpp(1), vppnm1(1), 1.5);
992 TEST_ASSERT(vpp(2)==vppnm1(2));
997 int index0, index1, indexnm2, indexnm1;
998 vector_type vp(3), vp0(3), vp1(3), vpnm2(3), vpnm1(3), vpp(3), vpp0(3), vpp1(3), vppnm2(3), vppnm1(3);
999 fit_container_type ccon;
1001 constraint_info ciout;
1002 std::vector<point_type> points(20);
1007 ccon.
set_points(points.begin(), points.end());
1012 indexnm2=
static_cast<int>(points.size())-2;
1013 indexnm1=
static_cast<int>(points.size())-1;
1018 vp0(0)=-std::sin(t0);
1019 vp0(1)=std::cos(t0);
1021 vp1(0)=-std::sin(t1);
1022 vp1(1)=std::cos(t1);
1024 vpnm2(0)=-std::sin(tnm2);
1025 vpnm2(1)=std::cos(tnm2);
1027 vpnm1(0)=-std::sin(tnm1);
1028 vpnm1(1)=std::cos(tnm1);
1030 vpp0(0)=-std::cos(t0);
1031 vpp0(1)=-std::sin(t0);
1033 vpp1(0)=-std::cos(t1);
1034 vpp1(1)=-std::sin(t1);
1036 vppnm2(0)=-std::cos(tnm2);
1037 vppnm2(1)=-std::sin(tnm2);
1039 vppnm1(0)=-std::cos(tnm1);
1040 vppnm1(1)=-std::sin(tnm1);
1073 TEST_ASSERT_DELTA(vp(0), vp0(0), 8e-3);
1074 TEST_ASSERT_DELTA(vp(1), vp0(1), 4e-2);
1076 TEST_ASSERT_DELTA(vpp(0), vpp0(0), 1e-1);
1077 TEST_ASSERT_DELTA(vpp(1), vpp0(1), 4e-2);
1078 TEST_ASSERT(vpp(2)==vpp0(2));
1084 TEST_ASSERT_DELTA(vp(0), vp1(0), 4e-3);
1085 TEST_ASSERT_DELTA(vp(1), vp1(1), 2e-2);
1087 TEST_ASSERT_DELTA(vpp(0), vpp1(0), 16*std::numeric_limits<data__>::epsilon());
1088 TEST_ASSERT_DELTA(vpp(1), vpp1(1), 11*std::numeric_limits<data__>::epsilon());
1089 TEST_ASSERT(vpp(2)==vpp1(2));
1095 TEST_ASSERT_DELTA(vp(0), vpnm2(0), 8e-3);
1096 TEST_ASSERT_DELTA(vp(1), vpnm2(1), 1e-2);
1098 TEST_ASSERT_DELTA(vpp(0), vppnm2(0), 33*std::numeric_limits<data__>::epsilon());
1099 TEST_ASSERT_DELTA(vpp(1), vppnm2(1), 33*std::numeric_limits<data__>::epsilon());
1100 TEST_ASSERT(vpp(2)==vppnm2(2));
1106 TEST_ASSERT_DELTA(vp(0), vpnm1(0), 2e-2);
1107 TEST_ASSERT_DELTA(vp(1), vpnm1(1), 4e-2);
1109 TEST_ASSERT_DELTA(vpp(0), vppnm1(0), 8e-2);
1110 TEST_ASSERT_DELTA(vpp(1), vppnm1(1), 6e-2);
1111 TEST_ASSERT(vpp(2)==vppnm1(2));
1115 TEST_ASSERT(ccon.
closed());
1123 TEST_ASSERT_DELTA(vp(0), vp0(0), 4e-1);
1124 TEST_ASSERT_DELTA(vp(1), vp0(1), 2e-1);
1126 TEST_ASSERT_DELTA(vpp(0), vpp0(0), 3.5);
1127 TEST_ASSERT_DELTA(vpp(1), vpp0(1), 1.4);
1128 TEST_ASSERT(vpp(2)==vpp0(2));
1134 TEST_ASSERT_DELTA(vp(0), vp1(0), 4e-3);
1135 TEST_ASSERT_DELTA(vp(1), vp1(1), 2e-2);
1137 TEST_ASSERT_DELTA(vpp(0), vpp1(0), 16*std::numeric_limits<data__>::epsilon());
1138 TEST_ASSERT_DELTA(vpp(1), vpp1(1), 16*std::numeric_limits<data__>::epsilon());
1139 TEST_ASSERT(vpp(2)==vpp1(2));
1145 TEST_ASSERT_DELTA(vp(0), vpnm2(0), 8e-3);
1146 TEST_ASSERT_DELTA(vp(1), vpnm2(1), 1e-2);
1148 TEST_ASSERT_DELTA(vpp(0), vppnm2(0), 33*std::numeric_limits<data__>::epsilon());
1149 TEST_ASSERT_DELTA(vpp(1), vppnm2(1), 33*std::numeric_limits<data__>::epsilon());
1150 TEST_ASSERT(vpp(2)==vppnm2(2));
1156 TEST_ASSERT_DELTA(vp(0), vpnm1(0), 4e-1);
1157 TEST_ASSERT_DELTA(vp(1), vpnm1(1), 2e-1);
1159 TEST_ASSERT_DELTA(vpp(0), vppnm1(0), 3.0);
1160 TEST_ASSERT_DELTA(vpp(1), vppnm1(1), 1.5);
1161 TEST_ASSERT(vpp(2)==vppnm1(2));
1167 int index1(2), index2(5);
1168 vector_type v1(3), v2(3);
1169 fit_container_type ccon;
1171 constraint_info ciout;
1172 std::vector<point_type> points(20);
1174 v1[0]=0; v2[1]=2; v2[2]=4;
1175 v2[0]=1; v2[1]=3; v2[2]=5;
1179 ccon.
set_points(points.begin(), points.end());
1208 int index1(2), index2(5);
1209 vector_type v1(3), v2(3);
1210 fit_container_type ccon;
1212 constraint_info ciout;
1213 std::vector<point_type> points(20);
1215 v1[0]=0; v2[1]=2; v2[2]=4;
1216 v2[0]=1; v2[1]=3; v2[2]=5;
1220 ccon.
set_points(points.begin(), points.end());
1238 TEST_ASSERT(indexes[0]==index1);
1239 TEST_ASSERT(indexes[1]==(index2-index1));
1240 TEST_ASSERT(indexes[2]==index2);
1241 TEST_ASSERT(indexes[3]==index2+index1);
void add_C1_constraints_test()
Definition: fit_container_test_suite.hpp:163
error_code add_start_C2_constraint()
Definition: fit_container.hpp:517
use_states using_fp() const
Definition: fit_container.hpp:88
error_code add_C0_constraint(const index_type &i)
Definition: fit_container.hpp:562
Eigen::Matrix< data__, 1, 3 > vector_type
Definition: fit_container_test_suite.hpp:27
Definition: fit_container.hpp:45
size_t number_constraint_points() const
Definition: fit_container.hpp:375
error_code add_C2_constraint(const index_type &i)
Definition: fit_container.hpp:611
size_t number_points() const
Definition: fit_container.hpp:374
fit_container_type::constraint_info constraint_info
Definition: fit_container_test_suite.hpp:29
Definition: fit_container.hpp:34
void add_end_constraints_test()
Definition: fit_container_test_suite.hpp:361
void AddTests(const double &)
Definition: fit_container_test_suite.hpp:46
~fit_container_test_suite()
Definition: fit_container_test_suite.hpp:76
void add_C0_constraints_test()
Definition: fit_container_test_suite.hpp:110
void create_points(it__ it, size_t npts)
Definition: fit_container_test_suite.hpp:82
use_states using_fpp() const
Definition: fit_container.hpp:89
error_code add_start_C0_constraint()
Definition: fit_container.hpp:502
void closed_constraints_test()
Definition: fit_container_test_suite.hpp:609
fit_container_type::point_type point_type
Definition: fit_container_test_suite.hpp:30
Definition: fit_container.hpp:43
error_code remove_constraint(const index_type &i)
Definition: fit_container.hpp:673
error_code add_end_C0_constraint()
Definition: fit_container.hpp:532
error_code add_start_C1_constraint()
Definition: fit_container.hpp:507
error_code get_constraint(const index_type &i, constraint_info &ci) const
Definition: fit_container.hpp:476
Definition: continuity.hpp:27
point_type get_fpp() const
Definition: fit_container.hpp:87
Definition: fit_container.hpp:58
void remove_constraints_test()
Definition: fit_container_test_suite.hpp:1165
void add_C2_constraints_test()
Definition: fit_container_test_suite.hpp:244
fit_container_type::error_code error_code
Definition: fit_container_test_suite.hpp:31
Definition: fit_container.hpp:59
error_code add_C1_constraint(const index_type &i)
Definition: fit_container.hpp:575
void AddTests(const long double &)
Definition: fit_container_test_suite.hpp:58
Definition: fit_container_test_suite.hpp:24
void set_end_flag(const eli::geom::general::continuity &op)
Definition: fit_container.hpp:399
Definition: fit_container.hpp:57
void list_constraints_test()
Definition: fit_container_test_suite.hpp:1206
fit_container_test_suite()
Definition: fit_container_test_suite.hpp:72
point_type get_fp() const
Definition: fit_container.hpp:86
void construction_test()
Definition: fit_container_test_suite.hpp:96
error_code
Definition: fit_container.hpp:41
void AddTests(const float &)
Definition: fit_container_test_suite.hpp:34
Definition: fit_container.hpp:50
error_code add_end_C2_constraint()
Definition: fit_container.hpp:547
void set_points(it__ itb, it__ ite)
Definition: fit_container.hpp:444
error_code add_end_C1_constraint()
Definition: fit_container.hpp:537
eli::geom::curve::fit_container< data__, int, 3, 3 > fit_container_type
Definition: fit_container_test_suite.hpp:28
size_t number_constraints(bool fit=true) const
Definition: fit_container.hpp:377
error_code get_constraint_indexes(it__ itout) const
Definition: fit_container.hpp:688
Eigen::Matrix< data_type, 1, dim__ > point_type
Definition: fit_container.hpp:39
bool closed() const
Definition: fit_container.hpp:396