[mapguide-commits] r4720 - trunk/MgDev/Common/Geometry/Spatial
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Mar 30 16:00:50 EDT 2010
Author: NormOlsen
Date: 2010-03-30 16:00:49 -0400 (Tue, 30 Mar 2010)
New Revision: 4720
Modified:
trunk/MgDev/Common/Geometry/Spatial/SpatialUtility.cpp
Log:
Fix build! Some sort of screwy compiler problem or circular make dependency. Think this will fix it, but not sure until we do a fresh checkout with this fix in it.
Modified: trunk/MgDev/Common/Geometry/Spatial/SpatialUtility.cpp
===================================================================
--- trunk/MgDev/Common/Geometry/Spatial/SpatialUtility.cpp 2010-03-30 19:55:15 UTC (rev 4719)
+++ trunk/MgDev/Common/Geometry/Spatial/SpatialUtility.cpp 2010-03-30 20:00:49 UTC (rev 4720)
@@ -1053,11 +1053,14 @@
INT32 MgSpatialUtility::PointIsInPolygon (MgCoordinateIterator* polyItr,MgCoordinate* outsidePoint,
MgCoordinate* queryPoint)
{
- INT32 pointStatus (MgSpatialUtilityStatus::PointIsOutside);
+ INT32 pointStatus;
Ptr<MgCoordinateXYM> lastIntersection;
Ptr<MgCoordinateCollection> intersectionCollection;
+ // Until we know different.
+ pointStatus = MgSpatialUtilityStatus::PointIsOutside;
+
// Get all the intersections between the "outPoint" amd the query Point.
intersectionCollection = PolySegIntersection (polyItr,outsidePoint,queryPoint);
INT32 count = intersectionCollection->GetCount ();
More information about the mapguide-commits
mailing list