#include <stdio.h>
#include "lsm.h"
#include "./../pihmLIBS/shapefil.h"
Include dependency graph for streamSegmentationShp.cpp:
Go to the source code of this file.
Defines | |
#define | MAX 8 |
Functions | |
int | streamSegmentationShp (char *rivFile, char *fdrFile, char *rivShpFile, char *rivDbfFile) |
void | streamGenShp (float **riv, short **fdr, int i, int j) |
void | findIJShp (short **fdr, int i, int j, int *mIJ) |
int | findCellShp (float **riv, short **fdr, int i, int j, int(*cell)[2]) |
int | getNumPts (float **riv, int nx, int ny) |
Variables | |
int | old1Fdr |
int | old2Fdr |
double * | ptx |
double * | pty |
double * | ptz |
int | nVertices |
int | numPts |
SHPHandle | shp |
DBFHandle | dbf |
SHPObject * | obj |
int | Att |
int | recordNum |
#define MAX 8 |
Definition at line 6 of file streamSegmentationShp.cpp.
int findCellShp | ( | float ** | riv, | |
short ** | fdr, | |||
int | i, | |||
int | j, | |||
int * | cell[2] | |||
) |
Definition at line 201 of file streamSegmentationShp.cpp.
References findIJShp().
Referenced by streamGenShp(), and streamSegmentationShp().
Here is the call graph for this function:
void findIJShp | ( | short ** | fdr, | |
int | i, | |||
int | j, | |||
int * | mIJ | |||
) |
Definition at line 180 of file streamSegmentationShp.cpp.
Referenced by findCellShp(), and streamSegmentationShp().
int getNumPts | ( | float ** | riv, | |
int | nx, | |||
int | ny | |||
) |
void streamGenShp | ( | float ** | riv, | |
short ** | fdr, | |||
int | i, | |||
int | j | |||
) |
Definition at line 94 of file streamSegmentationShp.cpp.
References bndbox, csize, dbf, DBFWriteIntegerAttribute(), findCellShp(), MAX, obj, shp, SHPCreateSimpleObject(), SHPT_ARC, SHPWriteObject(), and slope.
Referenced by streamSegmentationShp().
Here is the call graph for this function:
int streamSegmentationShp | ( | char * | rivFile, | |
char * | fdrFile, | |||
char * | rivShpFile, | |||
char * | rivDbfFile | |||
) |
Definition at line 28 of file streamSegmentationShp.cpp.
References bndbox, csize, dbf, DBFAddField(), DBFClose(), DBFCreate(), dir, dx, dy, elev, filetype, findCellShp(), findIJShp(), FTInteger, getNumPts(), gridread(), MAX, mval, nx, ny, RPFLTDTYPE, RPSHRDTYPE, shp, SHPClose(), SHPCreate(), SHPT_ARC, slope, and streamGenShp().
Referenced by StreamPolyLineDlg::run().
Here is the call graph for this function:
int Att |
Definition at line 22 of file streamSegmentationShp.cpp.
Definition at line 20 of file streamSegmentationShp.cpp.
Referenced by addFID(), addSOrder(), addToFromNode(), calDownSegment(), catchmentPoly(), extractRiver4mTIN(), generateShape(), mergeFeatures(), polygonToPolyline(), rivFileDlg::run(), attFileDlg::run(), simplifyPolySHP(), splitLineAtVertices(), streamGenShp(), and streamSegmentationShp().
int numPts |
Definition at line 18 of file streamSegmentationShp.cpp.
int nVertices |
Definition at line 21 of file streamSegmentationShp.cpp.
Referenced by addToFromNode(), catchmentPoly(), generateShape(), mergeFeatures(), attFileDlg::run(), simplifyPolySHP(), splitLineAtVertices(), and streamGenShp().
int old1Fdr |
Definition at line 14 of file streamSegmentationShp.cpp.
int old2Fdr |
Definition at line 14 of file streamSegmentationShp.cpp.
double* ptx |
double * pty |
double * ptz |
int recordNum |
Definition at line 19 of file streamSegmentationShp.cpp.
Referenced by addSOrder(), addToFromNode(), catchmentPoly(), extractRiver4mTIN(), generateShape(), mergeFeatures(), polygonToPolyline(), attFileDlg::run(), simplifyPolySHP(), splitLineAtVertices(), streamGenShp(), and streamSegmentationShp().