1
0
Fork 0

Start fixing Windows build issues

This commit is contained in:
Christian Schmitt 2012-03-29 15:07:20 +02:00
parent 6b2826050b
commit 449720c858

View file

@ -137,6 +137,14 @@ public:
bool IsEqual2D(const Point3D& a) const; // equality check in X,Y only
bool HasElevation() const; // does point have elevation data?
#ifdef _MSC_VER
double round(double d)
{
return floor(d + 0.5);
}
#endif
};