Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit eb6c8ae5 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

adding new class for math operations

parent 2bfca892
No related branches found
No related tags found
No related merge requests found
namespace TUGraz.VectoCore.Utils
{
public class VectoMath
{
public static double Interpolate(double x1, double x2, double y1, double y2, double xint)
{
return (xint - x1)*(y2 - y1)/(x2 - x1) + y1;
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment