You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
601 B
C++
34 lines
601 B
C++
#include "StdAfx.h"
|
|
|
|
static double extendLength = 5000;
|
|
static double xGridStep = 20;
|
|
static double yGridStep = 20;
|
|
|
|
extern "C" __declspec(dllexport)
|
|
void Global_SetExtendLength(double len)
|
|
{
|
|
extendLength = len;
|
|
}
|
|
|
|
extern "C" __declspec(dllexport)
|
|
double Global_GetExtendLength()
|
|
{
|
|
return extendLength;
|
|
}
|
|
|
|
//extern "C" __declspec(dllexport)
|
|
//void Global_GetGridStep(double * xStep, double * yStep)
|
|
//{
|
|
// *xStep = xGridStep;
|
|
// *yStep = yGridStep;
|
|
//}
|
|
//
|
|
//extern "C" __declspec(dllexport)
|
|
//void Global_SetGridStep(double xStep, double yStep)
|
|
//{
|
|
// xGridStep = xStep;
|
|
// yGridStep = yStep;
|
|
//}
|
|
|
|
|