libspatialindex-1.9.3-debug.zip
资源内容介绍
libspatialindex-1.9.3,笔者在Windows 10 系统下,使用Visual Studio 2017编译好的二进制开发包,Debug版本呢,方便大家下载使用 /****************************************************************************** * Project: libsidx - A C API wrapper around libspatialindex * Purpose: C API. * Author: Howard Butler, hobu.inc@gmail.com ****************************************************************************** * Copyright (c) 2009, Howard Butler * * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE.******************************************************************************/#ifndef SIDX_API_H_INCLUDED#define SIDX_API_H_INCLUDED#define SIDX_C_API 1#include "sidx_config.h"IDX_C_STARTSIDX_DLL IndexH Index_Create(IndexPropertyH properties);SIDX_DLL IndexH Index_CreateWithStream( IndexPropertyH properties,int (*readNext)(int64_t *id, double **pMin, double **pMax, uint32_t *nDimension, const uint8_t **pData, size_t *nDataLength) );SIDX_DLL void Index_Destroy(IndexH index);SIDX_DLL IndexPropertyH Index_GetProperties(IndexH index);SIDX_DLL RTError Index_DeleteData(IndexH index,int64_t id,double* pdMin,double* pdMax,uint32_t nDimension);SIDX_C_DLL RTError Index_DeleteTPData( IndexH index, int64_t id, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension );SIDX_C_DLL RTError Index_DeleteMVRData( IndexH index,int64_t id,double* pdMin,double* pdMax,double tStart,double tEnd,uint32_t nDimension);SIDX_DLL RTError Index_InsertData(IndexH index,int64_t id,double* pdMin,double* pdMax,uint32_t nDimension,const uint8_t* pData,size_t nDataLength);SIDX_C_DLL RTError Index_InsertTPData( IndexH index, int64_t id, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension, const uint8_t* pData, size_t nDataLength);SIDX_C_DLL RTError Index_InsertMVRData( IndexH index,int64_t id,double* pdMin,double* pdMax,double tStart,double tEnd,uint32_t nDimension,const uint8_t* pData,size_t nDataLength);SIDX_DLL uint32_t Index_IsValid(IndexH index);SIDX_C_DLL RTError Index_TPIntersects_obj( IndexH index, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension, IndexItemH** items, uint64_t* nResults);SIDX_C_DLL RTError Index_MVRIntersects_obj( IndexH index,double* pdMin,double* pdMax,double tStart,double tEnd,uint32_t nDimension,IndexItemH** items,uint64_t* nResults);SIDX_DLL RTError Index_Intersects_obj(IndexH index,double* pdMin,double* pdMax,uint32_t nDimension,IndexItemH** items,uint64_t* nResults);SIDX_C_DLL RTError Index_Contains_obj( IndexH index, double* pdMin, double* pdMax, uint32_t nDimension, IndexItemH** items, uint64_t* nResults);SIDX_C_DLL RTError Index_TPIntersects_id( IndexH index, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension, int64_t** ids, uint64_t* nResults);SIDX_C_DLL RTError Index_MVRIntersects_id( IndexH index,double* pdMin,double* pdMax,double tStart,double tEnd,uint32_t nDimension,int64_t** ids,uint64_t* nResults);SIDX_DLL RTError Index_Intersects_id(IndexH index,double* pdMin,double* pdMax,uint32_t nDimension,int64_t** items,uint64_t* nResults);SIDX_C_DLL RTError Index_Contains_id(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, int64_t **ids, uint64_t *nResults);SIDX_C_DLL RTError Index_TPIntersects_count( IndexH index, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension, uint64_t* nResults);SIDX_C_DLL RTError Index_MVRIntersects_count( IndexH index,double* pdMin,double* pdMax,double tStart,double tEnd,uint32_t nDimension,uint64_t* nResults);SIDX_DLL RTError Index_Intersects_count(IndexH index,double* pdMin,double* pdMax,uint32_t nDimension,uint64_t* nResults);SIDX_C_DLL RTError Index_Contains_count( IndexH index, double* pdMin, double* pdMax, uint32_t nDimension, uint64_t* nResults);SIDX_C_DLL RTError Index_TPNearestNeighbors_obj(IndexH index, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension, IndexItemH** items, uint64_t* nResults);SIDX_C_DLL RTError Index_MVRNearestNeighbors_obj(IndexH index,double* pdMin,double* pdMax,double tStart,double tEnd,uint32_t nDimension,IndexItemH** items,uint64_t* nResults);SIDX_DLL RTError Index_NearestNeighbors_obj(IndexH index,double* pdMin,double* pdMax,uint32_t nDimension,IndexItemH** items,uint64_t* nResults);SIDX_C_DLL RTError Index_TPNearestNeighbors_id(IndexH index, double* pdMin, double* pdMax, double* pdVMin, double* pdVMax, double tStart, double tEnd, uint32_t nDimension, int6