#ifndef _MULTIPOLYGONS_H #define _MULTIPOLYGONS_H #include #include #include #include "renderRules.h" #include "common.h" #include "mapObjects.h" /// !!! Fuly copied from MapRenderRepositories.java, should be carefully synchroinized bool isClockwiseWay(std::vector& c) ; bool calculateLineCoordinates(bool inside, int x, int y, bool pinside, int px, int py, int leftX, int rightX, int bottomY, int topY, std::vector& coordinates); void combineMultipolygonLine(std::vector& completedRings, std::vector& incompletedRings, coordinates& coordinates); void unifyIncompletedRings(std::vector >& incompletedRings, std::vector >& completedRings, int leftX, int rightX, int bottomY, int topY, long dbId, int zoom); bool processCoastlines(std::vector& coastLines, int leftX, int rightX, int bottomY, int topY, int zoom, bool showIfThereIncompleted, bool addDebugIncompleted, std::vector& res); #endif