Skip to content

📠Sinusoidal📠 function Implementation in WPF using ASP.NET WEB API 2📠

Notifications You must be signed in to change notification settings

VanHakobyan/Sinusoidal_ImplementationWPF_ASP.NETwebAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation



private Point CorrespondingPoint(Point pt)
{
    double xmin = 0;
    double xmax = 6.5;
    double ymin = -1.1;
    double ymax = 1.1;

    var result = new Point
    {
        X = (pt.X - xmin) * canvas.Width / (xmax - xmin),
        Y = canvas.Height - (pt.Y - ymin) * canvas.Height / (ymax - ymin)
    };
    return result;
}

About

📠Sinusoidal📠 function Implementation in WPF using ASP.NET WEB API 2📠

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published