- initial version

git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@14 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-09-24 17:21:29 +00:00
parent 18b4fa3b5c
commit 2bf059a84a
6 changed files with 39 additions and 8 deletions
+7 -1
View File
@@ -19,7 +19,7 @@
//[Headers] You can add your own extra header files here...
//[/Headers]
#include <cmath>
#include "IQPlaneComponent.h"
@@ -158,6 +158,9 @@ void IQPlaneComponent::pointAdd(sym_err_t *pPoint, uint32_t numPoints)
float IQPlaneComponent::getScreenCoordX(float x)
{
if (isnan(x) || isinf(x))
return 0;
if ((x > 1.0) || (x < -1.0))
return 0;
@@ -166,6 +169,9 @@ float IQPlaneComponent::getScreenCoordX(float x)
float IQPlaneComponent::getScreenCoordY(float y)
{
if (isnan(y) || isinf(y))
return 0;
if ((y > 1.0) || (y < -1.0))
return 0;