#include <iostream>
#include <fstream>
#include <iomanip>
#include <math.h>
#include "shapefil.h"
Include dependency graph for polygonToPolyline.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | dist(x1, y1, x2, y2) fabs(x1-x2)+fabs(y1-y2) |
Functions | |
void | sortArray (int ***junction, int *jctCount, int recordCount) |
void | calPts (int start, int end, SHPObject *handle, double *X, double *Y, double *Z, int node, int *vertices) |
void | polygonToPolyline (const char *shpFileName, const char *dbfFileName, const char *newshpFileName, const char *newdbfFileName) |
#define dist | ( | x1, | |||
y1, | |||||
x2, | |||||
y2 | ) | fabs(x1-x2)+fabs(y1-y2) |
Definition at line 14 of file polygonToPolyline.h.
Referenced by catchmentPoly(), dPointToLine(), GWflowFromEleToRiv(), locate(), OLflowFromEleToRiv(), and simplifyPolyline().
void calPts | ( | int | start, | |
int | end, | |||
SHPObject * | handle, | |||
double * | X, | |||
double * | Y, | |||
double * | Z, | |||
int | node, | |||
int * | vertices | |||
) |
Definition at line 70 of file polygonToPolyline.h.
References SHPObject::padfX, and SHPObject::padfY.
void polygonToPolyline | ( | const char * | shpFileName, | |
const char * | dbfFileName, | |||
const char * | newshpFileName, | |||
const char * | newdbfFileName | |||
) |
Definition at line 85 of file polygonToPolyline.h.
References dbf, DBFAddField(), DBFCreate(), DBFGetRecordCount(), DBFOpen(), SHPObject::dfXMax, SHPObject::dfXMin, SHPObject::dfYMax, SHPObject::dfYMin, FTInteger, nVertices, SHPObject::nVertices, SHPObject::padfX, SHPObject::padfY, shp, SHPCreate(), SHPOpen(), SHPReadObject(), and SHPT_ARC.
Referenced by polygonToPolyLineDialogDlg::run().
Here is the call graph for this function:
void sortArray | ( | int *** | junction, | |
int * | jctCount, | |||
int | recordCount | |||
) |
Definition at line 16 of file polygonToPolyline.h.