MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / compute

Method compute

visualization/src/pcl_plotter.cpp:623–632  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

621
622//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
623double
624pcl::visualization::PCLPlotter::compute (
625 pcl::visualization::PCLPlotter::PolynomialFunction const & p_function,
626 double val)
627{
628 double res = 0;
629 for (std::size_t i = 0; i < p_function.size (); i++)
630 res += (p_function[i] * pow (val, static_cast<double> (i)) );
631 return (res);
632}
633
634//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
635double

Callers 1

mainFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

mainFunction · 0.36