libspatialindex API Reference  (git-trunk)
sidx_api.h File Reference
#include "sidx_config.h"
#include <stddef.h>
Include dependency graph for sidx_api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIDX_C_API   1
 

Functions

IDX_C_START SIDX_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 IndexH Index_CreateWithArray (IndexPropertyH properties, uint64_t n, uint32_t dimension, uint64_t i_stri, uint64_t d_i_stri, uint64_t d_j_stri, int64_t *ids, double *mins, double *maxs)
 
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_Intersects_id_v (IndexH index, int64_t n, uint32_t d, uint64_t idsz, uint64_t d_i_stri, uint64_t d_j_stri, const double *mins, const double *maxs, int64_t *ids, uint64_t *cnts, int64_t *nr)
 
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, int64_t **ids, uint64_t *nResults)
 
SIDX_C_DLL RTError Index_MVRNearestNeighbors_id (IndexH index, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, int64_t **ids, uint64_t *nResults)
 
SIDX_DLL RTError Index_NearestNeighbors_id (IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, int64_t **items, uint64_t *nResults)
 
SIDX_C_DLL RTError Index_NearestNeighbors_id_v (IndexH index, int64_t knn, int64_t n, uint32_t d, uint64_t idsz, uint64_t d_i_stri, uint64_t d_j_stri, const double *mins, const double *maxs, int64_t *ids, uint64_t *cnts, double *dists, int64_t *nr)
 
SIDX_DLL RTError Index_Intersects_internal (IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
 
SIDX_DLL RTError Index_GetBounds (IndexH index, double **ppdMin, double **ppdMax, uint32_t *nDimension)
 
SIDX_C_DLL RTError Index_GetLeaves (IndexH index, uint32_t *nLeafNodes, uint32_t **nLeafSizes, int64_t **nLeafIDs, int64_t ***nLeafChildIDs, double ***pppdMin, double ***pppdMax, uint32_t *nDimension)
 
SIDX_DLL RTError Index_SetResultSetOffset (IndexH index, int64_t value)
 
SIDX_DLL int64_t Index_GetResultSetOffset (IndexH index)
 
SIDX_DLL RTError Index_SetResultSetLimit (IndexH index, int64_t value)
 
SIDX_DLL int64_t Index_GetResultSetLimit (IndexH index)
 
SIDX_DLL void Index_DestroyObjResults (IndexItemH *results, uint32_t nResults)
 
SIDX_DLL void Index_ClearBuffer (IndexH index)
 
SIDX_DLL void Index_Free (void *object)
 
SIDX_DLL void Index_Flush (IndexH index)
 
SIDX_DLL void IndexItem_Destroy (IndexItemH item)
 
SIDX_DLL int64_t IndexItem_GetID (IndexItemH item)
 
SIDX_DLL RTError IndexItem_GetData (IndexItemH item, uint8_t **data, uint64_t *length)
 
SIDX_DLL RTError IndexItem_GetBounds (IndexItemH item, double **ppdMin, double **ppdMax, uint32_t *nDimension)
 
SIDX_DLL IndexPropertyH IndexProperty_Create (void)
 
SIDX_DLL void IndexProperty_Destroy (IndexPropertyH hProp)
 
SIDX_DLL RTError IndexProperty_SetIndexType (IndexPropertyH iprop, RTIndexType value)
 
SIDX_DLL RTIndexType IndexProperty_GetIndexType (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetDimension (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetDimension (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetIndexVariant (IndexPropertyH iprop, RTIndexVariant value)
 
SIDX_DLL RTIndexVariant IndexProperty_GetIndexVariant (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetIndexStorage (IndexPropertyH iprop, RTStorageType value)
 
SIDX_DLL RTStorageType IndexProperty_GetIndexStorage (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetPagesize (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetPagesize (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetIndexCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetIndexCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetLeafCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetLeafCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetLeafPoolCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetLeafPoolCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetIndexPoolCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetIndexPoolCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetRegionPoolCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetRegionPoolCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetPointPoolCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetPointPoolCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetBufferingCapacity (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetBufferingCapacity (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetEnsureTightMBRs (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetEnsureTightMBRs (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetOverwrite (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetOverwrite (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetNearMinimumOverlapFactor (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetNearMinimumOverlapFactor (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetWriteThrough (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetWriteThrough (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetFillFactor (IndexPropertyH iprop, double value)
 
SIDX_DLL double IndexProperty_GetFillFactor (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetSplitDistributionFactor (IndexPropertyH iprop, double value)
 
SIDX_DLL double IndexProperty_GetSplitDistributionFactor (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetTPRHorizon (IndexPropertyH iprop, double value)
 
SIDX_DLL double IndexProperty_GetTPRHorizon (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetReinsertFactor (IndexPropertyH iprop, double value)
 
SIDX_DLL double IndexProperty_GetReinsertFactor (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetFileName (IndexPropertyH iprop, const char *value)
 
SIDX_DLL char * IndexProperty_GetFileName (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetFileNameExtensionDat (IndexPropertyH iprop, const char *value)
 
SIDX_DLL char * IndexProperty_GetFileNameExtensionDat (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetFileNameExtensionIdx (IndexPropertyH iprop, const char *value)
 
SIDX_DLL char * IndexProperty_GetFileNameExtensionIdx (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetCustomStorageCallbacksSize (IndexPropertyH iprop, uint32_t value)
 
SIDX_DLL uint32_t IndexProperty_GetCustomStorageCallbacksSize (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetCustomStorageCallbacks (IndexPropertyH iprop, const void *value)
 
SIDX_DLL void * IndexProperty_GetCustomStorageCallbacks (IndexPropertyH iprop)
 
SIDX_DLL RTError IndexProperty_SetIndexID (IndexPropertyH iprop, int64_t value)
 
SIDX_DLL int64_t IndexProperty_GetIndexID (IndexPropertyH iprop)
 
SIDX_C_DLL void * SIDX_NewBuffer (size_t bytes)
 
SIDX_C_DLL void SIDX_DeleteBuffer (void *buffer)
 
SIDX_DLL RTError IndexProperty_SetResultSetLimit (IndexPropertyH iprop, uint64_t value)
 
SIDX_DLL uint64_t IndexProperty_GetResultSetLimit (IndexPropertyH iprop)
 
SIDX_C_DLL char * SIDX_Version (void)
 
SIDX_C_DLL char * Error_GetLastErrorMsg (void)
 

Macro Definition Documentation

◆ SIDX_C_API

#define SIDX_C_API   1

Definition at line 32 of file sidx_api.h.

Function Documentation

◆ Error_GetLastErrorMsg()

SIDX_C_DLL char* Error_GetLastErrorMsg ( void  )

Definition at line 114 of file sidx_api.cc.

References errors, Error::GetMessage(), and STRDUP.

Here is the call graph for this function:

◆ Index_ClearBuffer()

SIDX_DLL void Index_ClearBuffer ( IndexH  index)

Definition at line 2063 of file sidx_api.cc.

References Index::buffer(), SpatialIndex::StorageManager::IBuffer::clear(), and VALIDATE_POINTER0.

Here is the call graph for this function:

◆ Index_Contains_count()

SIDX_C_DLL RTError Index_Contains_count ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
uint64_t *  nResults 
)

◆ Index_Contains_id()

SIDX_C_DLL RTError Index_Contains_id ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
int64_t **  ids,
uint64_t *  nResults 
)

◆ Index_Contains_obj()

SIDX_C_DLL RTError Index_Contains_obj ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
IndexItemH **  items,
uint64_t *  nResults 
)

◆ Index_Create()

IDX_C_START SIDX_DLL IndexH Index_Create ( IndexPropertyH  properties)

Definition at line 170 of file sidx_api.cc.

References Error_PushError(), RT_Failure, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_CreateWithArray()

SIDX_DLL IndexH Index_CreateWithArray ( IndexPropertyH  properties,
uint64_t  n,
uint32_t  dimension,
uint64_t  i_stri,
uint64_t  d_i_stri,
uint64_t  d_j_stri,
int64_t *  ids,
double *  mins,
double *  maxs 
)

Definition at line 227 of file sidx_api.cc.

References Error_PushError(), RT_Failure, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_CreateWithStream()

SIDX_DLL IndexH Index_CreateWithStream ( IndexPropertyH  properties,
int(*)(int64_t *id, double **pMin, double **pMax, uint32_t *nDimension, const uint8_t **pData, size_t *nDataLength)  readNext 
)

Definition at line 197 of file sidx_api.cc.

References Error_PushError(), RT_Failure, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_DeleteData()

SIDX_DLL RTError Index_DeleteData ( IndexH  index,
int64_t  id,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension 
)

Definition at line 384 of file sidx_api.cc.

References SpatialIndex::ISpatialIndex::deleteData(), Error_PushError(), Index::index(), RT_Failure, RT_None, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_DeleteMVRData()

SIDX_C_DLL RTError Index_DeleteMVRData ( IndexH  index,
int64_t  id,
double *  pdMin,
double *  pdMax,
double  tStart,
double  tEnd,
uint32_t  nDimension 
)

Definition at line 348 of file sidx_api.cc.

References SpatialIndex::ISpatialIndex::deleteData(), Error_PushError(), Index::index(), RT_Failure, RT_None, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_DeleteTPData()

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 
)

Definition at line 310 of file sidx_api.cc.

References SpatialIndex::ISpatialIndex::deleteData(), Error_PushError(), Index::index(), RT_Failure, RT_None, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_Destroy()

SIDX_DLL void Index_Destroy ( IndexH  index)

Definition at line 293 of file sidx_api.cc.

References VALIDATE_POINTER0.

◆ Index_DestroyObjResults()

SIDX_DLL void Index_DestroyObjResults ( IndexItemH results,
uint32_t  nResults 
)

Definition at line 2070 of file sidx_api.cc.

References VALIDATE_POINTER0.

◆ Index_Flush()

SIDX_DLL void Index_Flush ( IndexH  index)

Definition at line 300 of file sidx_api.cc.

References Index::flush(), and VALIDATE_POINTER0.

Here is the call graph for this function:

◆ Index_Free()

SIDX_DLL void Index_Free ( void *  object)

Definition at line 2086 of file sidx_api.cc.

References VALIDATE_POINTER0.

◆ Index_GetBounds()

SIDX_DLL RTError Index_GetBounds ( IndexH  index,
double **  ppdMin,
double **  ppdMax,
uint32_t *  nDimension 
)

◆ Index_GetLeaves()

SIDX_C_DLL RTError Index_GetLeaves ( IndexH  index,
uint32_t *  nLeafNodes,
uint32_t **  nLeafSizes,
int64_t **  nLeafIDs,
int64_t ***  nLeafChildIDs,
double ***  pppdMin,
double ***  pppdMax,
uint32_t *  nDimension 
)

◆ Index_GetProperties()

◆ Index_GetResultSetLimit()

SIDX_DLL int64_t Index_GetResultSetLimit ( IndexH  index)

Definition at line 2036 of file sidx_api.cc.

References Index::GetResultSetLimit(), and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ Index_GetResultSetOffset()

SIDX_DLL int64_t Index_GetResultSetOffset ( IndexH  index)

Definition at line 2012 of file sidx_api.cc.

References Index::GetResultSetOffset(), and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ Index_InsertData()

SIDX_DLL RTError Index_InsertData ( IndexH  index,
int64_t  id,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
const uint8_t *  pData,
size_t  nDataLength 
)

Definition at line 566 of file sidx_api.cc.

References Error_PushError(), Index::index(), SpatialIndex::ISpatialIndex::insertData(), RT_Failure, RT_None, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_InsertMVRData()

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 
)

Definition at line 494 of file sidx_api.cc.

References Error_PushError(), Index::index(), SpatialIndex::ISpatialIndex::insertData(), RT_Failure, RT_None, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_InsertTPData()

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 
)

Definition at line 417 of file sidx_api.cc.

References Error_PushError(), Index::index(), SpatialIndex::ISpatialIndex::insertData(), RT_Failure, RT_None, VALIDATE_POINTER1, and Tools::Exception::what().

Here is the call graph for this function:

◆ Index_Intersects_count()

SIDX_DLL RTError Index_Intersects_count ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
uint64_t *  nResults 
)

◆ Index_Intersects_id()

SIDX_DLL RTError Index_Intersects_id ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
int64_t **  items,
uint64_t *  nResults 
)

◆ Index_Intersects_id_v()

SIDX_C_DLL RTError Index_Intersects_id_v ( IndexH  index,
int64_t  n,
uint32_t  d,
uint64_t  idsz,
uint64_t  d_i_stri,
uint64_t  d_j_stri,
const double *  mins,
const double *  maxs,
int64_t *  ids,
uint64_t *  cnts,
int64_t *  nr 
)

◆ Index_Intersects_internal()

SIDX_DLL RTError Index_Intersects_internal ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
IndexItemH **  items,
uint64_t *  nResults 
)

◆ Index_Intersects_obj()

SIDX_DLL RTError Index_Intersects_obj ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
IndexItemH **  items,
uint64_t *  nResults 
)

◆ Index_IsValid()

SIDX_DLL uint32_t Index_IsValid ( IndexH  index)

Definition at line 2043 of file sidx_api.cc.

References Index::index(), SpatialIndex::ISpatialIndex::isIndexValid(), and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ Index_MVRIntersects_count()

SIDX_C_DLL RTError Index_MVRIntersects_count ( IndexH  index,
double *  pdMin,
double *  pdMax,
double  tStart,
double  tEnd,
uint32_t  nDimension,
uint64_t *  nResults 
)

◆ Index_MVRIntersects_id()

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 
)

◆ Index_MVRIntersects_obj()

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 
)

◆ Index_MVRNearestNeighbors_id()

SIDX_C_DLL RTError Index_MVRNearestNeighbors_id ( IndexH  index,
double *  pdMin,
double *  pdMax,
double  tStart,
double  tEnd,
uint32_t  nDimension,
int64_t **  ids,
uint64_t *  nResults 
)

◆ Index_MVRNearestNeighbors_obj()

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 
)

◆ Index_NearestNeighbors_id()

SIDX_DLL RTError Index_NearestNeighbors_id ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
int64_t **  items,
uint64_t *  nResults 
)

◆ Index_NearestNeighbors_id_v()

SIDX_C_DLL RTError Index_NearestNeighbors_id_v ( IndexH  index,
int64_t  knn,
int64_t  n,
uint32_t  d,
uint64_t  idsz,
uint64_t  d_i_stri,
uint64_t  d_j_stri,
const double *  mins,
const double *  maxs,
int64_t *  ids,
uint64_t *  cnts,
double *  dists,
int64_t *  nr 
)

◆ Index_NearestNeighbors_obj()

SIDX_DLL RTError Index_NearestNeighbors_obj ( IndexH  index,
double *  pdMin,
double *  pdMax,
uint32_t  nDimension,
IndexItemH **  items,
uint64_t *  nResults 
)

◆ Index_SetResultSetLimit()

SIDX_DLL RTError Index_SetResultSetLimit ( IndexH  index,
int64_t  value 
)

Definition at line 2019 of file sidx_api.cc.

References Error_PushError(), RT_Failure, RT_None, Index::SetResultSetLimit(), and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ Index_SetResultSetOffset()

SIDX_DLL RTError Index_SetResultSetOffset ( IndexH  index,
int64_t  value 
)

Definition at line 1995 of file sidx_api.cc.

References Error_PushError(), RT_Failure, RT_None, Index::SetResultSetOffset(), and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ Index_TPIntersects_count()

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 
)

◆ Index_TPIntersects_id()

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 
)

◆ Index_TPIntersects_obj()

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 
)

◆ Index_TPNearestNeighbors_id()

SIDX_C_DLL RTError Index_TPNearestNeighbors_id ( IndexH  index,
double *  pdMin,
double *  pdMax,
double *  pdVMin,
double *  pdVMax,
double  tStart,
double  tEnd,
uint32_t  nDimension,
int64_t **  ids,
uint64_t *  nResults 
)

◆ Index_TPNearestNeighbors_obj()

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 
)

◆ IndexItem_Destroy()

SIDX_DLL void IndexItem_Destroy ( IndexItemH  item)

Definition at line 2193 of file sidx_api.cc.

References VALIDATE_POINTER0.

◆ IndexItem_GetBounds()

SIDX_DLL RTError IndexItem_GetBounds ( IndexItemH  item,
double **  ppdMin,
double **  ppdMax,
uint32_t *  nDimension 
)

◆ IndexItem_GetData()

SIDX_DLL RTError IndexItem_GetData ( IndexItemH  item,
uint8_t **  data,
uint64_t *  length 
)

Definition at line 2200 of file sidx_api.cc.

References SpatialIndex::IData::getData(), RT_Failure, RT_None, and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ IndexItem_GetID()

SIDX_DLL int64_t IndexItem_GetID ( IndexItemH  item)

Definition at line 2220 of file sidx_api.cc.

References SpatialIndex::IEntry::getIdentifier(), and VALIDATE_POINTER1.

Here is the call graph for this function:

◆ IndexProperty_Create()

SIDX_DLL IndexPropertyH IndexProperty_Create ( void  )

Definition at line 2270 of file sidx_api.cc.

References GetDefaults().

Here is the call graph for this function:

◆ IndexProperty_Destroy()

SIDX_DLL void IndexProperty_Destroy ( IndexPropertyH  hProp)

Definition at line 2277 of file sidx_api.cc.

References VALIDATE_POINTER0.

◆ IndexProperty_GetBufferingCapacity()

SIDX_DLL uint32_t IndexProperty_GetBufferingCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetCustomStorageCallbacks()

SIDX_DLL void* IndexProperty_GetCustomStorageCallbacks ( IndexPropertyH  iprop)

◆ IndexProperty_GetCustomStorageCallbacksSize()

SIDX_DLL uint32_t IndexProperty_GetCustomStorageCallbacksSize ( IndexPropertyH  iprop)

◆ IndexProperty_GetDimension()

SIDX_DLL uint32_t IndexProperty_GetDimension ( IndexPropertyH  iprop)

◆ IndexProperty_GetEnsureTightMBRs()

SIDX_DLL uint32_t IndexProperty_GetEnsureTightMBRs ( IndexPropertyH  iprop)

◆ IndexProperty_GetFileName()

SIDX_DLL char* IndexProperty_GetFileName ( IndexPropertyH  iprop)

◆ IndexProperty_GetFileNameExtensionDat()

SIDX_DLL char* IndexProperty_GetFileNameExtensionDat ( IndexPropertyH  iprop)

◆ IndexProperty_GetFileNameExtensionIdx()

SIDX_DLL char* IndexProperty_GetFileNameExtensionIdx ( IndexPropertyH  iprop)

◆ IndexProperty_GetFillFactor()

SIDX_DLL double IndexProperty_GetFillFactor ( IndexPropertyH  iprop)

◆ IndexProperty_GetIndexCapacity()

SIDX_DLL uint32_t IndexProperty_GetIndexCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetIndexID()

SIDX_DLL int64_t IndexProperty_GetIndexID ( IndexPropertyH  iprop)

◆ IndexProperty_GetIndexPoolCapacity()

SIDX_DLL uint32_t IndexProperty_GetIndexPoolCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetIndexStorage()

◆ IndexProperty_GetIndexType()

SIDX_DLL RTIndexType IndexProperty_GetIndexType ( IndexPropertyH  iprop)

Definition at line 2322 of file sidx_api.cc.

References Error_PushError(), Tools::PropertySet::getProperty(), Tools::Variant::m_val, Tools::Variant::m_varType, RT_Failure, RT_InvalidIndexType, Tools::Variant::ulVal, VALIDATE_POINTER1, Tools::VT_EMPTY, and Tools::VT_ULONG.

Referenced by IndexProperty_SetIndexVariant().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IndexProperty_GetIndexVariant()

◆ IndexProperty_GetLeafCapacity()

SIDX_DLL uint32_t IndexProperty_GetLeafCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetLeafPoolCapacity()

SIDX_DLL uint32_t IndexProperty_GetLeafPoolCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetNearMinimumOverlapFactor()

SIDX_DLL uint32_t IndexProperty_GetNearMinimumOverlapFactor ( IndexPropertyH  iprop)

◆ IndexProperty_GetOverwrite()

SIDX_DLL uint32_t IndexProperty_GetOverwrite ( IndexPropertyH  iprop)

◆ IndexProperty_GetPagesize()

SIDX_DLL uint32_t IndexProperty_GetPagesize ( IndexPropertyH  iprop)

◆ IndexProperty_GetPointPoolCapacity()

SIDX_DLL uint32_t IndexProperty_GetPointPoolCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetRegionPoolCapacity()

SIDX_DLL uint32_t IndexProperty_GetRegionPoolCapacity ( IndexPropertyH  iprop)

◆ IndexProperty_GetReinsertFactor()

SIDX_DLL double IndexProperty_GetReinsertFactor ( IndexPropertyH  iprop)

◆ IndexProperty_GetResultSetLimit()

SIDX_DLL uint64_t IndexProperty_GetResultSetLimit ( IndexPropertyH  iprop)

◆ IndexProperty_GetSplitDistributionFactor()

SIDX_DLL double IndexProperty_GetSplitDistributionFactor ( IndexPropertyH  iprop)

◆ IndexProperty_GetTPRHorizon()

SIDX_DLL double IndexProperty_GetTPRHorizon ( IndexPropertyH  iprop)

◆ IndexProperty_GetWriteThrough()

SIDX_DLL uint32_t IndexProperty_GetWriteThrough ( IndexPropertyH  iprop)

◆ IndexProperty_SetBufferingCapacity()

SIDX_DLL RTError IndexProperty_SetBufferingCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetCustomStorageCallbacks()

◆ IndexProperty_SetCustomStorageCallbacksSize()

SIDX_DLL RTError IndexProperty_SetCustomStorageCallbacksSize ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetDimension()

SIDX_DLL RTError IndexProperty_SetDimension ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetEnsureTightMBRs()

SIDX_DLL RTError IndexProperty_SetEnsureTightMBRs ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetFileName()

SIDX_DLL RTError IndexProperty_SetFileName ( IndexPropertyH  iprop,
const char *  value 
)

◆ IndexProperty_SetFileNameExtensionDat()

SIDX_DLL RTError IndexProperty_SetFileNameExtensionDat ( IndexPropertyH  iprop,
const char *  value 
)

◆ IndexProperty_SetFileNameExtensionIdx()

SIDX_DLL RTError IndexProperty_SetFileNameExtensionIdx ( IndexPropertyH  iprop,
const char *  value 
)

◆ IndexProperty_SetFillFactor()

SIDX_DLL RTError IndexProperty_SetFillFactor ( IndexPropertyH  iprop,
double  value 
)

◆ IndexProperty_SetIndexCapacity()

SIDX_DLL RTError IndexProperty_SetIndexCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetIndexID()

SIDX_DLL RTError IndexProperty_SetIndexID ( IndexPropertyH  iprop,
int64_t  value 
)

◆ IndexProperty_SetIndexPoolCapacity()

SIDX_DLL RTError IndexProperty_SetIndexPoolCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetIndexStorage()

◆ IndexProperty_SetIndexType()

◆ IndexProperty_SetIndexVariant()

◆ IndexProperty_SetLeafCapacity()

SIDX_DLL RTError IndexProperty_SetLeafCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetLeafPoolCapacity()

SIDX_DLL RTError IndexProperty_SetLeafPoolCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetNearMinimumOverlapFactor()

SIDX_DLL RTError IndexProperty_SetNearMinimumOverlapFactor ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetOverwrite()

SIDX_DLL RTError IndexProperty_SetOverwrite ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetPagesize()

SIDX_DLL RTError IndexProperty_SetPagesize ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetPointPoolCapacity()

SIDX_DLL RTError IndexProperty_SetPointPoolCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetRegionPoolCapacity()

SIDX_DLL RTError IndexProperty_SetRegionPoolCapacity ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ IndexProperty_SetReinsertFactor()

SIDX_DLL RTError IndexProperty_SetReinsertFactor ( IndexPropertyH  iprop,
double  value 
)

◆ IndexProperty_SetResultSetLimit()

SIDX_DLL RTError IndexProperty_SetResultSetLimit ( IndexPropertyH  iprop,
uint64_t  value 
)

◆ IndexProperty_SetSplitDistributionFactor()

SIDX_DLL RTError IndexProperty_SetSplitDistributionFactor ( IndexPropertyH  iprop,
double  value 
)

◆ IndexProperty_SetTPRHorizon()

SIDX_DLL RTError IndexProperty_SetTPRHorizon ( IndexPropertyH  iprop,
double  value 
)

◆ IndexProperty_SetWriteThrough()

SIDX_DLL RTError IndexProperty_SetWriteThrough ( IndexPropertyH  iprop,
uint32_t  value 
)

◆ SIDX_DeleteBuffer()

SIDX_C_DLL void SIDX_DeleteBuffer ( void *  buffer)

Definition at line 4008 of file sidx_api.cc.

◆ SIDX_NewBuffer()

SIDX_C_DLL void* SIDX_NewBuffer ( size_t  bytes)

Definition at line 3942 of file sidx_api.cc.

◆ SIDX_Version()

SIDX_C_DLL char* SIDX_Version ( void  )

Definition at line 4014 of file sidx_api.cc.

References SIDX_RELEASE_NAME, and STRDUP.