https://github.com/vanhakobyan/sinusoidal_implementationwpf_asp.netwebapi
:fax:Sinusoidal:fax: function Implementation in WPF using ASP.NET WEB API 2:fax:
https://github.com/vanhakobyan/sinusoidal_implementationwpf_asp.netwebapi
asp-net asp-net-web-api cosinus sinus wpf wpf-application
Last synced: about 22 hours ago
JSON representation
:fax:Sinusoidal:fax: function Implementation in WPF using ASP.NET WEB API 2:fax:
- Host: GitHub
- URL: https://github.com/vanhakobyan/sinusoidal_implementationwpf_asp.netwebapi
- Owner: VanHakobyan
- Created: 2017-04-21T11:56:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-22T19:56:47.000Z (over 8 years ago)
- Last Synced: 2025-06-05T14:41:10.287Z (4 months ago)
- Topics: asp-net, asp-net-web-api, cosinus, sinus, wpf, wpf-application
- Language: C#
- Homepage:
- Size: 28.3 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Author Tigran Vardanyan
```C#
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;
}
```