39 typedef void *GNMNetworkH;
40 typedef void *GNMGenericNetworkH;
42 const char CPL_DLL * CPL_STDCALL GNMGetName (GNMNetworkH hNet);
44 int CPL_DLL CPL_STDCALL GNMGetVersion(GNMNetworkH hNet);
46 CPLErr CPL_DLL CPL_STDCALL GNMDisconnectAll (GNMNetworkH hNet);
48 OGRFeatureH CPL_DLL CPL_STDCALL GNMGetFeatureByGlobalFID (GNMNetworkH hNet, GNMGFID nGFID);
50 OGRLayerH CPL_DLL CPL_STDCALL GNMGetPath (GNMNetworkH hNet, GNMGFID nStartFID,
51 GNMGFID nEndFID, GNMGraphAlgorithmType eAlgorithm,
54 CPLErr CPL_DLL CPL_STDCALL GNMConnectFeatures (GNMGenericNetworkH hNet,
55 GNMGFID nSrcFID, GNMGFID nTgtFID,
56 GNMGFID nConFID,
double dfCost,
60 CPLErr CPL_DLL CPL_STDCALL GNMDisconnectFeatures (GNMGenericNetworkH hNet,
61 GNMGFID nSrcFID, GNMGFID nTgtFID,
64 CPLErr CPL_DLL CPL_STDCALL GNMDisconnectFeaturesWithId(GNMGenericNetworkH hNet,
67 CPLErr CPL_DLL CPL_STDCALL GNMReconnectFeatures (GNMGenericNetworkH hNet,
68 GNMGFID nSrcFID, GNMGFID nTgtFID,
69 GNMGFID nConFID,
double dfCost,
70 double dfInvCost, GNMDirection eDir);
72 CPLErr CPL_DLL CPL_STDCALL GNMCreateRule (GNMGenericNetworkH hNet,
73 const char *pszRuleStr);
75 CPLErr CPL_DLL CPL_STDCALL GNMDeleteAllRules(GNMGenericNetworkH hNet);
77 CPLErr CPL_DLL CPL_STDCALL GNMDeleteRule(GNMGenericNetworkH hNet,
78 const char *pszRuleStr);
80 char CPL_DLL ** CPL_STDCALL GNMGetRules(GNMGenericNetworkH hNet);
82 CPLErr CPL_DLL CPL_STDCALL GNMConnectPointsByLines (GNMGenericNetworkH hNet,
83 char **papszLayerList,
89 CPLErr CPL_DLL CPL_STDCALL GNMChangeBlockState (GNMGenericNetworkH hNet,
90 GNMGFID nFID,
bool bIsBlock);
92 CPLErr CPL_DLL CPL_STDCALL GNMChangeAllBlockState (GNMGenericNetworkH hNet,
97 GNMGenericNetworkH CPL_DLL CPL_STDCALL GNMCastToGenericNetwork(
GDALMajorObjectH hBase);
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:508
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
void * GDALMajorObjectH
Opaque type used for the C bindings of the C++ GDALMajorObject class.
Definition: gdal.h:252
void * OGRFeatureH
Opaque type for a feature (OGRFeature)
Definition: ogr_api.h:301
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
CPLErr
Error category.
Definition: cpl_error.h:52