Vectorizer.cpp File Reference

It implements the vectorizer, based on TerraLib 4 algorithm. More...

#include "../common/progress/TaskProgress.h"
#include "../core/logger/Logger.h"
#include "../core/translator/Translator.h"
#include "../geometry/Coord2D.h"
#include "../geometry/Envelope.h"
#include "../geometry/FixGeometryTopology.h"
#include "../geometry/Line.h"
#include "../geometry/LinearRing.h"
#include "../geometry/Point.h"
#include "../geometry/Polygon.h"
#include "../geometry/Utils.h"
#include "Band.h"
#include "BandProperty.h"
#include "Config.h"
#include "Grid.h"
#include "Vectorizer.h"
#include "VectorizerPolygonStructure.h"
#include "Exception.h"
#include <boost/lexical_cast.hpp>
#include <iostream>
#include <memory>

Go to the source code of this file.

Macros

#define APPENDPOINTINLINE(newDirection)
 
#define EAST   3
 
#define NORTH   1
 
#define NORTHEAST   2
 
#define NORTHWEST   0
 
#define SOUTH   5
 
#define SOUTHEAST   4
 
#define SOUTHWEST   6
 
#define WEST   7
 

Detailed Description

It implements the vectorizer, based on TerraLib 4 algorithm.

Definition in file Vectorizer.cpp.

Macro Definition Documentation

#define APPENDPOINTINLINE (   newDirection)
Value:
currChainCodePoint.first += (long int)m_directions[ newDirection ].x; \
currChainCodePoint.second += (long int)m_directions[ newDirection ].y; \
chainCode.push_back( currChainCodePoint );

Definition at line 63 of file Vectorizer.cpp.

Referenced by te::rst::Vectorizer::detectEdge().

#define EAST   3
#define NORTH   1
#define NORTHEAST   2
#define NORTHWEST   0
#define SOUTH   5
#define SOUTHEAST   4
#define SOUTHWEST   6
#define WEST   7