/dports/devel/etl/synfig-1.2.2/synfig-studio/src/synfigapp/ |
H A D | blineconvert.cpp | 387 cum_dist.clear(); in clear() 560 cum_dist.resize(point_cache.size()); this_dist.resize(point_cache.size()); in operator ()() 565 cum_dist[i] = d; in operator ()() 647 curind.push_back(cpindex(i0,cum_dist[i3]-cum_dist[i0],0)); //0 error because no curve on the left in operator ()() 648 curind.push_back(cpindex(i3,cum_dist[i3]-cum_dist[i0],-1)); //error needs to be reevaluated in operator ()() 728 scale = cum_dist[itop] - cum_dist[ibreak]; in operator ()() 729 …scale2 = maxi+1 < indsize ? cum_dist[curind[maxi+1].curind] - cum_dist[itop] : scale; //to the rig… in operator ()() 732 scale = cum_dist[ibreak] - cum_dist[ibase]; in operator ()() 733 …scale2 = maxi >= 2 ? cum_dist[ibase] - cum_dist[curind[maxi-2].curind] : scale; // to the left val… in operator ()() 736 scale = std::min(cum_dist[ibreak] - cum_dist[ibase], cum_dist[itop] - cum_dist[ibreak]); in operator ()()
|
H A D | blineconvert.h | 89 std::vector<synfig::Real> cum_dist, //cumulative distance variable
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/synfigapp/ |
H A D | blineconvert.cpp | 387 cum_dist.clear(); in clear() 560 cum_dist.resize(point_cache.size()); this_dist.resize(point_cache.size()); in operator ()() 565 cum_dist[i] = d; in operator ()() 647 curind.push_back(cpindex(i0,cum_dist[i3]-cum_dist[i0],0)); //0 error because no curve on the left in operator ()() 648 curind.push_back(cpindex(i3,cum_dist[i3]-cum_dist[i0],-1)); //error needs to be reevaluated in operator ()() 728 scale = cum_dist[itop] - cum_dist[ibreak]; in operator ()() 729 …scale2 = maxi+1 < indsize ? cum_dist[curind[maxi+1].curind] - cum_dist[itop] : scale; //to the rig… in operator ()() 732 scale = cum_dist[ibreak] - cum_dist[ibase]; in operator ()() 733 …scale2 = maxi >= 2 ? cum_dist[ibase] - cum_dist[curind[maxi-2].curind] : scale; // to the left val… in operator ()() 736 scale = std::min(cum_dist[ibreak] - cum_dist[ibase], cum_dist[itop] - cum_dist[ibreak]); in operator ()()
|
H A D | blineconvert.h | 89 std::vector<synfig::Real> cum_dist, //cumulative distance variable
|
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/synfigapp/ |
H A D | blineconvert.cpp | 387 cum_dist.clear(); in clear() 560 cum_dist.resize(point_cache.size()); this_dist.resize(point_cache.size()); in operator ()() 565 cum_dist[i] = d; in operator ()() 647 curind.push_back(cpindex(i0,cum_dist[i3]-cum_dist[i0],0)); //0 error because no curve on the left in operator ()() 648 curind.push_back(cpindex(i3,cum_dist[i3]-cum_dist[i0],-1)); //error needs to be reevaluated in operator ()() 728 scale = cum_dist[itop] - cum_dist[ibreak]; in operator ()() 729 …scale2 = maxi+1 < indsize ? cum_dist[curind[maxi+1].curind] - cum_dist[itop] : scale; //to the rig… in operator ()() 732 scale = cum_dist[ibreak] - cum_dist[ibase]; in operator ()() 733 …scale2 = maxi >= 2 ? cum_dist[ibase] - cum_dist[curind[maxi-2].curind] : scale; // to the left val… in operator ()() 736 scale = std::min(cum_dist[ibreak] - cum_dist[ibase], cum_dist[itop] - cum_dist[ibreak]); in operator ()()
|
H A D | blineconvert.h | 89 std::vector<synfig::Real> cum_dist, //cumulative distance variable
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/rapid/src/ |
H A D | rapid.cpp | 37 std::vector<float> cum_dist; // prefix sum member in cv::rapid::Contour3DSampler 58 cum_dist.resize(idx.size()); in Contour3DSampler() 63 cum_dist[i] = perimeter; in Contour3DSampler() 72 while (pos < int(cum_dist.size() - 1) && dist >= cum_dist[pos]) { in advanceTo() 76 lambda = (dist - cum_dist[pos - 1]) / (cum_dist[pos] - cum_dist[pos - 1]); in advanceTo()
|
/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rgrl/ |
H A D | rgrl_mask_oriented_box.cxx | 165 double cum_dist = 0.0; in average_vertices_dist() local 186 cum_dist += (axes_*pt - other.axes()*other_pt).two_norm(); in average_vertices_dist() 188 return cum_dist/num_pts; in average_vertices_dist()
|
/dports/math/gri/gri-2.12.23/src/ |
H A D | draw.cc | 1586 double cum_dist = 0.0; in draw_isopycnalCmd() local 1651 cum_dist += sqrt((S_cm - S_cm_last) * (S_cm - S_cm_last) in draw_isopycnalCmd() 1666 cum_dist += sqrt((S_cm - S_cm_last) * (S_cm - S_cm_last) in draw_isopycnalCmd() 1677 cum_dist += sqrt((S_cm - S_cm_last) * (S_cm - S_cm_last) in draw_isopycnalCmd() 1679 if (cum_dist > contour_spacing) { in draw_isopycnalCmd() 1683 cum_dist = 0.0; // start over in draw_isopycnalCmd()
|
/dports/biology/avida/avida-2.12.4-src/avida-core/source/analyze/ |
H A D | cAnalyze.cc | 8237 int cum_dist = 0; in MutationRevert() local 8263 (cum_dist <= max_dist || max_dist == -1) ) in MutationRevert() 8265 cum_dist += other_genotype->GetParentDist(); in MutationRevert() 8266 if (cum_dist > max_dist && max_dist != -1) in MutationRevert() 8289 << cum_dist << " " in MutationRevert()
|
/dports/graphics/gmt/gmt-6.3.0/src/ |
H A D | gmt_map.c | 9140 double cum_dist = 0.0, xp0 = 0, xp1, yp0 = 0, yp1; in gmt_line_length() local 9149 cum_dist += hypot (xp0 - xp1, yp0 - yp1); in gmt_line_length() 9153 cum_dist += gmt_distance (GMT, x[this_p], y[this_p], x[prev], y[prev]); in gmt_line_length() 9157 if (project) cum_dist *= GMT->session.u2u[GMT_INCH][GMT->current.setting.proj_length_unit]; in gmt_line_length() 9159 return (cum_dist); in gmt_line_length() 9168 double *d = NULL, cum_dist = 0.0, inc = 0.0; in gmt_dist_array() local 9178 cum_dist += inc; in gmt_dist_array() 9179 d[this_p] = cum_dist; in gmt_dist_array() 9197 double *d = NULL, cum_dist = 0.0, inc = 0.0; in gmt_dist_array_2() local 9236 if (cumulative) cum_dist += inc; in gmt_dist_array_2() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/3rdparty/opennurbs/ |
H A D | opennurbs_brep.cpp | 10440 double cum_dist = 0.0; in AdjustPointListAlongChord() local 10443 cum_dist += Points[i-1].DistanceTo(Points[i]); in AdjustPointListAlongChord() 10444 if (chord_dist < 0.01*cum_dist) in AdjustPointListAlongChord()
|
/dports/math/gismo/gismo-21.12.0/external/onurbs/ |
H A D | opennurbs_brep.cpp | 10513 double cum_dist = 0.0; in AdjustPointListAlongChord() local 10516 cum_dist += Points[i-1].DistanceTo(Points[i]); in AdjustPointListAlongChord() 10517 if (chord_dist < 0.01*cum_dist) in AdjustPointListAlongChord()
|