ClipByFeatures.h
// Copyright 2010 ESRI // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // You may freely redistribute and use this sample code, with or // without modification, provided you include the original copyright // notice and use restrictions. // // See the use restrictions. // #ifndef __CLIPBYFEATURES_SAMPLE_H__ #define __CLIPBYFEATURES_SAMPLE_H__ #include <iostream> // COMMANDLINE ARGS: // ./ClipByFeatures /mycomputer/data/portland TAXLOTS TAXLOTS.shp /mycomputer/data/portland PARKS PARKS.shp /mycomputer/commandline/clip_by_feature shapefilescopy 0 // ArcEngine C++ API #include <ArcSDK.h> #include "PathUtilities.h" #include "LicenseUtilities.h" HRESULT ClipFile(char* src, char* clip, char* result, double tolerance); char* GetTable(char* name); #endif // __CLIPBYFEATURES_SAMPLE_H__