diff --git a/MEOS.NET/Internal/MEOSExposedFunctions.cs b/MEOS.NET/Internal/MEOSExposedFunctions.cs index bbc0aaf..188bafa 100644 --- a/MEOS.NET/Internal/MEOSExposedFunctions.cs +++ b/MEOS.NET/Internal/MEOSExposedFunctions.cs @@ -8,6 +8,240 @@ namespace MEOS.NET.Internal [GeneratedCode("MEOS.NET.Builder.MEOSIDL", "0.1.0")] internal partial class MEOSExposedFunctions { + public static string describeH3Error(uint err) + => SafeExecution(() => MEOSExternalFunctions.describeH3Error(err)); + + public static uint latLngToCell(IntPtr g, int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.latLngToCell(g, res, @out)); + + public static uint cellToLatLng(ulong h3, IntPtr g) + => SafeExecution(() => MEOSExternalFunctions.cellToLatLng(h3, g)); + + public static uint cellToBoundary(ulong h3, IntPtr gp) + => SafeExecution(() => MEOSExternalFunctions.cellToBoundary(h3, gp)); + + public static uint maxGridDiskSize(int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.maxGridDiskSize(k, @out)); + + public static uint gridDiskUnsafe(ulong origin, int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.gridDiskUnsafe(origin, k, @out)); + + public static uint gridDiskDistancesUnsafe(ulong origin, int k, IntPtr @out, IntPtr distances) + => SafeExecution(() => MEOSExternalFunctions.gridDiskDistancesUnsafe(origin, k, @out, distances)); + + public static uint gridDiskDistancesSafe(ulong origin, int k, IntPtr @out, IntPtr distances) + => SafeExecution(() => MEOSExternalFunctions.gridDiskDistancesSafe(origin, k, @out, distances)); + + public static uint gridDisksUnsafe(IntPtr h3Set, int length, int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.gridDisksUnsafe(h3Set, length, k, @out)); + + public static uint gridDisk(ulong origin, int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.gridDisk(origin, k, @out)); + + public static uint gridDiskDistances(ulong origin, int k, IntPtr @out, IntPtr distances) + => SafeExecution(() => MEOSExternalFunctions.gridDiskDistances(origin, k, @out, distances)); + + public static uint maxGridRingSize(int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.maxGridRingSize(k, @out)); + + public static uint gridRingUnsafe(ulong origin, int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.gridRingUnsafe(origin, k, @out)); + + public static uint gridRing(ulong origin, int k, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.gridRing(origin, k, @out)); + + public static uint maxPolygonToCellsSize(IntPtr geoPolygon, int res, uint flags, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.maxPolygonToCellsSize(geoPolygon, res, flags, @out)); + + public static uint polygonToCells(IntPtr geoPolygon, int res, uint flags, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.polygonToCells(geoPolygon, res, flags, @out)); + + public static uint maxPolygonToCellsSizeExperimental(IntPtr polygon, int res, uint flags, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.maxPolygonToCellsSizeExperimental(polygon, res, flags, @out)); + + public static uint polygonToCellsExperimental(IntPtr polygon, int res, uint flags, long size, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.polygonToCellsExperimental(polygon, res, flags, size, @out)); + + public static uint cellsToLinkedMultiPolygon(IntPtr h3Set, int numHexes, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellsToLinkedMultiPolygon(h3Set, numHexes, @out)); + + public static void destroyLinkedMultiPolygon(IntPtr polygon) + => SafeExecution(() => MEOSExternalFunctions.destroyLinkedMultiPolygon(polygon)); + + public static double degsToRads(double degrees) + => SafeExecution(() => MEOSExternalFunctions.degsToRads(degrees)); + + public static double radsToDegs(double radians) + => SafeExecution(() => MEOSExternalFunctions.radsToDegs(radians)); + + public static double greatCircleDistanceRads(IntPtr a, IntPtr b) + => SafeExecution(() => MEOSExternalFunctions.greatCircleDistanceRads(a, b)); + + public static double greatCircleDistanceKm(IntPtr a, IntPtr b) + => SafeExecution(() => MEOSExternalFunctions.greatCircleDistanceKm(a, b)); + + public static double greatCircleDistanceM(IntPtr a, IntPtr b) + => SafeExecution(() => MEOSExternalFunctions.greatCircleDistanceM(a, b)); + + public static uint getHexagonAreaAvgKm2(int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getHexagonAreaAvgKm2(res, @out)); + + public static uint getHexagonAreaAvgM2(int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getHexagonAreaAvgM2(res, @out)); + + public static uint cellAreaRads2(ulong h, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellAreaRads2(h, @out)); + + public static uint cellAreaKm2(ulong h, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellAreaKm2(h, @out)); + + public static uint cellAreaM2(ulong h, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellAreaM2(h, @out)); + + public static uint getHexagonEdgeLengthAvgKm(int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getHexagonEdgeLengthAvgKm(res, @out)); + + public static uint getHexagonEdgeLengthAvgM(int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getHexagonEdgeLengthAvgM(res, @out)); + + public static uint edgeLengthRads(ulong edge, IntPtr length) + => SafeExecution(() => MEOSExternalFunctions.edgeLengthRads(edge, length)); + + public static uint edgeLengthKm(ulong edge, IntPtr length) + => SafeExecution(() => MEOSExternalFunctions.edgeLengthKm(edge, length)); + + public static uint edgeLengthM(ulong edge, IntPtr length) + => SafeExecution(() => MEOSExternalFunctions.edgeLengthM(edge, length)); + + public static uint getNumCells(int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getNumCells(res, @out)); + + public static int res0CellCount() + => SafeExecution(() => MEOSExternalFunctions.res0CellCount()); + + public static uint getRes0Cells(IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getRes0Cells(@out)); + + public static int pentagonCount() + => SafeExecution(() => MEOSExternalFunctions.pentagonCount()); + + public static uint getPentagons(int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getPentagons(res, @out)); + + public static int getResolution(ulong h) + => SafeExecution(() => MEOSExternalFunctions.getResolution(h)); + + public static int getBaseCellNumber(ulong h) + => SafeExecution(() => MEOSExternalFunctions.getBaseCellNumber(h)); + + public static uint getIndexDigit(ulong h, int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getIndexDigit(h, res, @out)); + + public static uint constructCell(int res, int baseCellNumber, IntPtr digits, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.constructCell(res, baseCellNumber, digits, @out)); + + public static uint stringToH3(string str, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.stringToH3(str, @out)); + + public static uint h3ToString(ulong h, string str, ulong sz) + => SafeExecution(() => MEOSExternalFunctions.h3ToString(h, str, sz)); + + public static int isValidCell(ulong h) + => SafeExecution(() => MEOSExternalFunctions.isValidCell(h)); + + public static int isValidIndex(ulong h) + => SafeExecution(() => MEOSExternalFunctions.isValidIndex(h)); + + public static uint cellToParent(ulong h, int parentRes, IntPtr parent) + => SafeExecution(() => MEOSExternalFunctions.cellToParent(h, parentRes, parent)); + + public static uint cellToChildrenSize(ulong h, int childRes, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellToChildrenSize(h, childRes, @out)); + + public static uint cellToChildren(ulong h, int childRes, IntPtr children) + => SafeExecution(() => MEOSExternalFunctions.cellToChildren(h, childRes, children)); + + public static uint cellToCenterChild(ulong h, int childRes, IntPtr child) + => SafeExecution(() => MEOSExternalFunctions.cellToCenterChild(h, childRes, child)); + + public static uint cellToChildPos(ulong child, int parentRes, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellToChildPos(child, parentRes, @out)); + + public static uint childPosToCell(long childPos, ulong parent, int childRes, IntPtr child) + => SafeExecution(() => MEOSExternalFunctions.childPosToCell(childPos, parent, childRes, child)); + + public static uint compactCells(IntPtr h3Set, IntPtr compactedSet, long numHexes) + => SafeExecution(() => MEOSExternalFunctions.compactCells(h3Set, compactedSet, numHexes)); + + public static uint uncompactCellsSize(IntPtr compactedSet, long numCompacted, int res, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.uncompactCellsSize(compactedSet, numCompacted, res, @out)); + + public static uint uncompactCells(IntPtr compactedSet, long numCompacted, IntPtr outSet, long numOut, int res) + => SafeExecution(() => MEOSExternalFunctions.uncompactCells(compactedSet, numCompacted, outSet, numOut, res)); + + public static int isResClassIII(ulong h) + => SafeExecution(() => MEOSExternalFunctions.isResClassIII(h)); + + public static int isPentagon(ulong h) + => SafeExecution(() => MEOSExternalFunctions.isPentagon(h)); + + public static uint maxFaceCount(ulong h3, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.maxFaceCount(h3, @out)); + + public static uint getIcosahedronFaces(ulong h3, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getIcosahedronFaces(h3, @out)); + + public static uint areNeighborCells(ulong origin, ulong destination, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.areNeighborCells(origin, destination, @out)); + + public static uint cellsToDirectedEdge(ulong origin, ulong destination, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellsToDirectedEdge(origin, destination, @out)); + + public static int isValidDirectedEdge(ulong edge) + => SafeExecution(() => MEOSExternalFunctions.isValidDirectedEdge(edge)); + + public static uint getDirectedEdgeOrigin(ulong edge, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getDirectedEdgeOrigin(edge, @out)); + + public static uint getDirectedEdgeDestination(ulong edge, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.getDirectedEdgeDestination(edge, @out)); + + public static uint directedEdgeToCells(ulong edge, IntPtr originDestination) + => SafeExecution(() => MEOSExternalFunctions.directedEdgeToCells(edge, originDestination)); + + public static uint originToDirectedEdges(ulong origin, IntPtr edges) + => SafeExecution(() => MEOSExternalFunctions.originToDirectedEdges(origin, edges)); + + public static uint directedEdgeToBoundary(ulong edge, IntPtr gb) + => SafeExecution(() => MEOSExternalFunctions.directedEdgeToBoundary(edge, gb)); + + public static uint cellToVertex(ulong origin, int vertexNum, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellToVertex(origin, vertexNum, @out)); + + public static uint cellToVertexes(ulong origin, IntPtr vertexes) + => SafeExecution(() => MEOSExternalFunctions.cellToVertexes(origin, vertexes)); + + public static uint vertexToLatLng(ulong vertex, IntPtr point) + => SafeExecution(() => MEOSExternalFunctions.vertexToLatLng(vertex, point)); + + public static int isValidVertex(ulong vertex) + => SafeExecution(() => MEOSExternalFunctions.isValidVertex(vertex)); + + public static uint gridDistance(ulong origin, ulong h3, IntPtr distance) + => SafeExecution(() => MEOSExternalFunctions.gridDistance(origin, h3, distance)); + + public static uint gridPathCellsSize(ulong start, ulong end, IntPtr size) + => SafeExecution(() => MEOSExternalFunctions.gridPathCellsSize(start, end, size)); + + public static uint gridPathCells(ulong start, ulong end, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.gridPathCells(start, end, @out)); + + public static uint cellToLocalIj(ulong origin, ulong h3, uint mode, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.cellToLocalIj(origin, h3, mode, @out)); + + public static uint localIjToCell(ulong origin, IntPtr ij, uint mode, IntPtr @out) + => SafeExecution(() => MEOSExternalFunctions.localIjToCell(origin, ij, mode, @out)); + public static int date_in(string str) => SafeExecution(() => MEOSExternalFunctions.date_in(str)); @@ -41,6 +275,30 @@ public static long timestamptz_in(string str, int typmod) public static string timestamptz_out(long t) => SafeExecution(() => MEOSExternalFunctions.timestamptz_out(t)); + public static IntPtr meos_array_create(int elem_size) + => SafeExecution(() => MEOSExternalFunctions.meos_array_create(elem_size)); + + public static void meos_array_add(IntPtr array, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.meos_array_add(array, value)); + + public static IntPtr meos_array_get(IntPtr array, int n) + => SafeExecution(() => MEOSExternalFunctions.meos_array_get(array, n)); + + public static int meos_array_count(IntPtr array) + => SafeExecution(() => MEOSExternalFunctions.meos_array_count(array)); + + public static void meos_array_reset(IntPtr array) + => SafeExecution(() => MEOSExternalFunctions.meos_array_reset(array)); + + public static void meos_array_reset_free(IntPtr array) + => SafeExecution(() => MEOSExternalFunctions.meos_array_reset_free(array)); + + public static void meos_array_destroy(IntPtr array) + => SafeExecution(() => MEOSExternalFunctions.meos_array_destroy(array)); + + public static void meos_array_destroy_free(IntPtr array) + => SafeExecution(() => MEOSExternalFunctions.meos_array_destroy_free(array)); + public static IntPtr rtree_create_intspan() => SafeExecution(() => MEOSExternalFunctions.rtree_create_intspan()); @@ -65,11 +323,17 @@ public static IntPtr rtree_create_stbox() public static void rtree_free(IntPtr rtree) => SafeExecution(() => MEOSExternalFunctions.rtree_free(rtree)); - public static void rtree_insert(IntPtr rtree, IntPtr box, long id) + public static void rtree_insert(IntPtr rtree, IntPtr box, int id) => SafeExecution(() => MEOSExternalFunctions.rtree_insert(rtree, box, id)); - public static IntPtr rtree_search(IntPtr rtree, IntPtr query, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.rtree_search(rtree, query, count)); + public static void rtree_insert_temporal(IntPtr rtree, IntPtr temp, int id) + => SafeExecution(() => MEOSExternalFunctions.rtree_insert_temporal(rtree, temp, id)); + + public static int rtree_search(IntPtr rtree, IntPtr op, IntPtr query, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.rtree_search(rtree, op, query, result)); + + public static int rtree_search_temporal(IntPtr rtree, IntPtr op, IntPtr temp, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.rtree_search_temporal(rtree, op, temp, result)); public static void meos_error(int errlevel, int errcode, string format) => SafeExecution(() => MEOSExternalFunctions.meos_error(errlevel, errcode, format)); @@ -3721,6 +3985,12 @@ public static IntPtr tbool_tor_transfn(IntPtr state, IntPtr temp) public static IntPtr temporal_extent_transfn(IntPtr s, IntPtr temp) => SafeExecution(() => MEOSExternalFunctions.temporal_extent_transfn(s, temp)); + public static IntPtr temporal_merge_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_merge_transfn(state, temp)); + + public static IntPtr temporal_merge_combinefn(IntPtr state1, IntPtr state2) + => SafeExecution(() => MEOSExternalFunctions.temporal_merge_combinefn(state1, state2)); + public static IntPtr temporal_tagg_finalfn(IntPtr state) => SafeExecution(() => MEOSExternalFunctions.temporal_tagg_finalfn(state)); @@ -4146,8 +4416,8 @@ public static bool temporal_type(int type) public static bool temporal_basetype(int type) => SafeExecution(() => MEOSExternalFunctions.temporal_basetype(type)); - public static bool temptype_continuous(int type) - => SafeExecution(() => MEOSExternalFunctions.temptype_continuous(type)); + public static bool temptype_supports_linear(int type) + => SafeExecution(() => MEOSExternalFunctions.temptype_supports_linear(type)); public static bool basetype_byvalue(int type) => SafeExecution(() => MEOSExternalFunctions.basetype_byvalue(type)); @@ -4155,8 +4425,8 @@ public static bool basetype_byvalue(int type) public static bool basetype_varlength(int type) => SafeExecution(() => MEOSExternalFunctions.basetype_varlength(type)); - public static short basetype_length(int type) - => SafeExecution(() => MEOSExternalFunctions.basetype_length(type)); + public static short meostype_length(int type) + => SafeExecution(() => MEOSExternalFunctions.meostype_length(type)); public static bool talphanum_type(int type) => SafeExecution(() => MEOSExternalFunctions.talphanum_type(type)); @@ -5022,14 +5292,20 @@ public static IntPtr tgeo_minus_stbox(IntPtr temp, IntPtr box, bool border_inc) public static IntPtr tgeo_minus_value(IntPtr temp, IntPtr gs) => SafeExecution(() => MEOSExternalFunctions.tgeo_minus_value(temp, gs)); - public static IntPtr tpoint_at_geom(IntPtr temp, IntPtr gs, IntPtr zspan) - => SafeExecution(() => MEOSExternalFunctions.tpoint_at_geom(temp, gs, zspan)); + public static IntPtr tpoint_at_elevation(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tpoint_at_elevation(temp, s)); + + public static IntPtr tpoint_at_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tpoint_at_geom(temp, gs)); public static IntPtr tpoint_at_value(IntPtr temp, IntPtr gs) => SafeExecution(() => MEOSExternalFunctions.tpoint_at_value(temp, gs)); - public static IntPtr tpoint_minus_geom(IntPtr temp, IntPtr gs, IntPtr zspan) - => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_geom(temp, gs, zspan)); + public static IntPtr tpoint_minus_elevation(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_elevation(temp, s)); + + public static IntPtr tpoint_minus_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_geom(temp, gs)); public static IntPtr tpoint_minus_value(IntPtr temp, IntPtr gs) => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_value(temp, gs)); @@ -5367,59 +5643,59 @@ public static int etouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2) public static int etouches_tpoint_geo(IntPtr temp, IntPtr gs) => SafeExecution(() => MEOSExternalFunctions.etouches_tpoint_geo(temp, gs)); - public static IntPtr tcontains_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcontains_geo_tgeo(gs, temp, restr, atvalue)); + public static IntPtr tcontains_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcontains_geo_tgeo(gs, temp)); - public static IntPtr tcontains_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcontains_tgeo_geo(temp, gs, restr, atvalue)); + public static IntPtr tcontains_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tgeo_geo(temp, gs)); - public static IntPtr tcontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcontains_tgeo_tgeo(temp1, temp2, restr, atvalue)); + public static IntPtr tcontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tgeo_tgeo(temp1, temp2)); - public static IntPtr tcovers_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcovers_geo_tgeo(gs, temp, restr, atvalue)); + public static IntPtr tcovers_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcovers_geo_tgeo(gs, temp)); - public static IntPtr tcovers_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcovers_tgeo_geo(temp, gs, restr, atvalue)); + public static IntPtr tcovers_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tgeo_geo(temp, gs)); - public static IntPtr tcovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcovers_tgeo_tgeo(temp1, temp2, restr, atvalue)); + public static IntPtr tcovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tgeo_tgeo(temp1, temp2)); - public static IntPtr tdisjoint_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdisjoint_geo_tgeo(gs, temp, restr, atvalue)); + public static IntPtr tdisjoint_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_geo_tgeo(gs, temp)); - public static IntPtr tdisjoint_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tgeo_geo(temp, gs, restr, atvalue)); + public static IntPtr tdisjoint_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tgeo_geo(temp, gs)); - public static IntPtr tdisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tgeo_tgeo(temp1, temp2, restr, atvalue)); + public static IntPtr tdisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tgeo_tgeo(temp1, temp2)); - public static IntPtr tdwithin_geo_tgeo(IntPtr gs, IntPtr temp, double dist, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdwithin_geo_tgeo(gs, temp, dist, restr, atvalue)); + public static IntPtr tdwithin_geo_tgeo(IntPtr gs, IntPtr temp, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_geo_tgeo(gs, temp, dist)); - public static IntPtr tdwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdwithin_tgeo_geo(temp, gs, dist, restr, atvalue)); + public static IntPtr tdwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tgeo_geo(temp, gs, dist)); - public static IntPtr tdwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdwithin_tgeo_tgeo(temp1, temp2, dist, restr, atvalue)); + public static IntPtr tdwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tgeo_tgeo(temp1, temp2, dist)); - public static IntPtr tintersects_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tintersects_geo_tgeo(gs, temp, restr, atvalue)); + public static IntPtr tintersects_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tintersects_geo_tgeo(gs, temp)); - public static IntPtr tintersects_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tintersects_tgeo_geo(temp, gs, restr, atvalue)); + public static IntPtr tintersects_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tgeo_geo(temp, gs)); - public static IntPtr tintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tintersects_tgeo_tgeo(temp1, temp2, restr, atvalue)); + public static IntPtr tintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tgeo_tgeo(temp1, temp2)); - public static IntPtr ttouches_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.ttouches_geo_tgeo(gs, temp, restr, atvalue)); + public static IntPtr ttouches_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttouches_geo_tgeo(gs, temp)); - public static IntPtr ttouches_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.ttouches_tgeo_geo(temp, gs, restr, atvalue)); + public static IntPtr ttouches_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tgeo_geo(temp, gs)); - public static IntPtr ttouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.ttouches_tgeo_tgeo(temp1, temp2, restr, atvalue)); + public static IntPtr ttouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tgeo_tgeo(temp1, temp2)); public static IntPtr tdistance_tgeo_geo(IntPtr temp, IntPtr gs) => SafeExecution(() => MEOSExternalFunctions.tdistance_tgeo_geo(temp, gs)); @@ -5546,6 +5822,532 @@ public static IntPtr geo_cluster_intersecting(IntPtr geoms, uint ngeoms, IntPtr public static IntPtr geo_cluster_within(IntPtr geoms, uint ngeoms, double tolerance, IntPtr count) => SafeExecution(() => MEOSExternalFunctions.geo_cluster_within(geoms, ngeoms, tolerance, count)); + public static string cbuffer_as_ewkt(IntPtr cb, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_as_ewkt(cb, maxdd)); + + public static string cbuffer_as_hexwkb(IntPtr cb, IntPtr variant, IntPtr size) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_as_hexwkb(cb, variant, size)); + + public static string cbuffer_as_text(IntPtr cb, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_as_text(cb, maxdd)); + + public static IntPtr cbuffer_as_wkb(IntPtr cb, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_as_wkb(cb, variant, size_out)); + + public static IntPtr cbuffer_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_from_hexwkb(hexwkb)); + + public static IntPtr cbuffer_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_from_wkb(wkb, size)); + + public static IntPtr cbuffer_in(string str) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_in(str)); + + public static string cbuffer_out(IntPtr cb, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_out(cb, maxdd)); + + public static IntPtr cbuffer_copy(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_copy(cb)); + + public static IntPtr cbuffer_make(IntPtr point, double radius) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_make(point, radius)); + + public static IntPtr cbuffer_to_geom(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_to_geom(cb)); + + public static IntPtr cbuffer_to_stbox(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_to_stbox(cb)); + + public static IntPtr cbufferarr_to_geom(IntPtr cbarr, int count) + => SafeExecution(() => MEOSExternalFunctions.cbufferarr_to_geom(cbarr, count)); + + public static IntPtr geom_to_cbuffer(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_to_cbuffer(gs)); + + public static uint cbuffer_hash(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_hash(cb)); + + public static ulong cbuffer_hash_extended(IntPtr cb, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_hash_extended(cb, seed)); + + public static IntPtr cbuffer_point(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_point(cb)); + + public static double cbuffer_radius(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_radius(cb)); + + public static IntPtr cbuffer_round(IntPtr cb, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_round(cb, maxdd)); + + public static IntPtr cbufferarr_round(IntPtr cbarr, int count, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.cbufferarr_round(cbarr, count, maxdd)); + + public static void cbuffer_set_srid(IntPtr cb, int srid) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_set_srid(cb, srid)); + + public static int cbuffer_srid(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_srid(cb)); + + public static IntPtr cbuffer_transform(IntPtr cb, int srid) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_transform(cb, srid)); + + public static IntPtr cbuffer_transform_pipeline(IntPtr cb, string pipelinestr, int srid, bool is_forward) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_transform_pipeline(cb, pipelinestr, srid, is_forward)); + + public static int contains_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.contains_cbuffer_cbuffer(cb1, cb2)); + + public static int covers_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.covers_cbuffer_cbuffer(cb1, cb2)); + + public static int disjoint_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.disjoint_cbuffer_cbuffer(cb1, cb2)); + + public static int dwithin_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2, double dist) + => SafeExecution(() => MEOSExternalFunctions.dwithin_cbuffer_cbuffer(cb1, cb2, dist)); + + public static int intersects_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.intersects_cbuffer_cbuffer(cb1, cb2)); + + public static int touches_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.touches_cbuffer_cbuffer(cb1, cb2)); + + public static IntPtr cbuffer_tstzspan_to_stbox(IntPtr cb, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_tstzspan_to_stbox(cb, s)); + + public static IntPtr cbuffer_timestamptz_to_stbox(IntPtr cb, long t) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_timestamptz_to_stbox(cb, t)); + + public static double distance_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.distance_cbuffer_cbuffer(cb1, cb2)); + + public static double distance_cbuffer_geo(IntPtr cb, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.distance_cbuffer_geo(cb, gs)); + + public static double distance_cbuffer_stbox(IntPtr cb, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.distance_cbuffer_stbox(cb, box)); + + public static double nad_cbuffer_stbox(IntPtr cb, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_cbuffer_stbox(cb, box)); + + public static int cbuffer_cmp(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_cmp(cb1, cb2)); + + public static bool cbuffer_eq(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_eq(cb1, cb2)); + + public static bool cbuffer_ge(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_ge(cb1, cb2)); + + public static bool cbuffer_gt(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_gt(cb1, cb2)); + + public static bool cbuffer_le(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_le(cb1, cb2)); + + public static bool cbuffer_lt(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_lt(cb1, cb2)); + + public static bool cbuffer_ne(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_ne(cb1, cb2)); + + public static bool cbuffer_nsame(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_nsame(cb1, cb2)); + + public static bool cbuffer_same(IntPtr cb1, IntPtr cb2) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_same(cb1, cb2)); + + public static IntPtr cbufferset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.cbufferset_in(str)); + + public static string cbufferset_out(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.cbufferset_out(s, maxdd)); + + public static IntPtr cbufferset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.cbufferset_make(values, count)); + + public static IntPtr cbuffer_to_set(IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_to_set(cb)); + + public static IntPtr cbufferset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.cbufferset_end_value(s)); + + public static IntPtr cbufferset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.cbufferset_start_value(s)); + + public static bool cbufferset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.cbufferset_value_n(s, n, result)); + + public static IntPtr[] cbufferset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.cbufferset_values(s)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static IntPtr cbuffer_union_transfn(IntPtr state, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.cbuffer_union_transfn(state, cb)); + + public static bool contained_cbuffer_set(IntPtr cb, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_cbuffer_set(cb, s)); + + public static bool contains_set_cbuffer(IntPtr s, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.contains_set_cbuffer(s, cb)); + + public static IntPtr intersection_cbuffer_set(IntPtr cb, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_cbuffer_set(cb, s)); + + public static IntPtr intersection_set_cbuffer(IntPtr s, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_cbuffer(s, cb)); + + public static IntPtr minus_cbuffer_set(IntPtr cb, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_cbuffer_set(cb, s)); + + public static IntPtr minus_set_cbuffer(IntPtr s, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.minus_set_cbuffer(s, cb)); + + public static IntPtr union_cbuffer_set(IntPtr cb, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_cbuffer_set(cb, s)); + + public static IntPtr union_set_cbuffer(IntPtr s, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.union_set_cbuffer(s, cb)); + + public static IntPtr tcbuffer_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_in(str)); + + public static IntPtr tcbuffer_make(IntPtr tpoint, IntPtr tfloat) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_make(tpoint, tfloat)); + + public static IntPtr tcbuffer_points(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_points(temp)); + + public static IntPtr tcbuffer_radius(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_radius(temp)); + + public static IntPtr tcbuffer_trav_area(IntPtr temp, bool merge_union) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_trav_area(temp, merge_union)); + + public static IntPtr tcbuffer_to_tfloat(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_to_tfloat(temp)); + + public static IntPtr tcbuffer_to_tgeompoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_to_tgeompoint(temp)); + + public static IntPtr tgeometry_to_tcbuffer(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeometry_to_tcbuffer(temp)); + + public static IntPtr tcbuffer_expand(IntPtr temp, double dist) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_expand(temp, dist)); + + public static IntPtr tcbuffer_at_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_at_cbuffer(temp, cb)); + + public static IntPtr tcbuffer_at_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_at_geom(temp, gs)); + + public static IntPtr tcbuffer_at_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_at_stbox(temp, box, border_inc)); + + public static IntPtr tcbuffer_minus_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_minus_cbuffer(temp, cb)); + + public static IntPtr tcbuffer_minus_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_minus_geom(temp, gs)); + + public static IntPtr tcbuffer_minus_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tcbuffer_minus_stbox(temp, box, border_inc)); + + public static IntPtr tdistance_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr tdistance_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tcbuffer_geo(temp, gs)); + + public static IntPtr tdistance_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tcbuffer_tcbuffer(temp1, temp2)); + + public static double nad_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.nad_tcbuffer_cbuffer(temp, cb)); + + public static double nad_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nad_tcbuffer_geo(temp, gs)); + + public static double nad_tcbuffer_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tcbuffer_stbox(temp, box)); + + public static double nad_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr nai_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.nai_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr nai_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nai_tcbuffer_geo(temp, gs)); + + public static IntPtr nai_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nai_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr shortestline_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr shortestline_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tcbuffer_geo(temp, gs)); + + public static IntPtr shortestline_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tcbuffer_tcbuffer(temp1, temp2)); + + public static int always_eq_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_cbuffer_tcbuffer(cb, temp)); + + public static int always_eq_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tcbuffer_cbuffer(temp, cb)); + + public static int always_eq_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tcbuffer_tcbuffer(temp1, temp2)); + + public static int always_ne_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_cbuffer_tcbuffer(cb, temp)); + + public static int always_ne_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tcbuffer_cbuffer(temp, cb)); + + public static int always_ne_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tcbuffer_tcbuffer(temp1, temp2)); + + public static int ever_eq_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_cbuffer_tcbuffer(cb, temp)); + + public static int ever_eq_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tcbuffer_cbuffer(temp, cb)); + + public static int ever_eq_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tcbuffer_tcbuffer(temp1, temp2)); + + public static int ever_ne_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_cbuffer_tcbuffer(cb, temp)); + + public static int ever_ne_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tcbuffer_cbuffer(temp, cb)); + + public static int ever_ne_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr teq_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr teq_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.teq_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr tne_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr tne_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tne_tcbuffer_cbuffer(temp, cb)); + + public static int acontains_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.acontains_cbuffer_tcbuffer(cb, temp)); + + public static int acontains_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.acontains_geo_tcbuffer(gs, temp)); + + public static int acontains_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.acontains_tcbuffer_cbuffer(temp, cb)); + + public static int acontains_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.acontains_tcbuffer_geo(temp, gs)); + + public static int acovers_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.acovers_cbuffer_tcbuffer(cb, temp)); + + public static int acovers_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.acovers_geo_tcbuffer(gs, temp)); + + public static int acovers_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.acovers_tcbuffer_cbuffer(temp, cb)); + + public static int acovers_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.acovers_tcbuffer_geo(temp, gs)); + + public static int adisjoint_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.adisjoint_tcbuffer_geo(temp, gs)); + + public static int adisjoint_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.adisjoint_tcbuffer_cbuffer(temp, cb)); + + public static int adisjoint_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.adisjoint_tcbuffer_tcbuffer(temp1, temp2)); + + public static int adwithin_tcbuffer_geo(IntPtr temp, IntPtr gs, double dist) + => SafeExecution(() => MEOSExternalFunctions.adwithin_tcbuffer_geo(temp, gs, dist)); + + public static int adwithin_tcbuffer_cbuffer(IntPtr temp, IntPtr cb, double dist) + => SafeExecution(() => MEOSExternalFunctions.adwithin_tcbuffer_cbuffer(temp, cb, dist)); + + public static int adwithin_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2, double dist) + => SafeExecution(() => MEOSExternalFunctions.adwithin_tcbuffer_tcbuffer(temp1, temp2, dist)); + + public static int aintersects_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.aintersects_tcbuffer_geo(temp, gs)); + + public static int aintersects_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.aintersects_tcbuffer_cbuffer(temp, cb)); + + public static int aintersects_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.aintersects_tcbuffer_tcbuffer(temp1, temp2)); + + public static int atouches_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.atouches_tcbuffer_geo(temp, gs)); + + public static int atouches_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.atouches_tcbuffer_cbuffer(temp, cb)); + + public static int atouches_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.atouches_tcbuffer_tcbuffer(temp1, temp2)); + + public static int econtains_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.econtains_cbuffer_tcbuffer(cb, temp)); + + public static int econtains_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.econtains_tcbuffer_cbuffer(temp, cb)); + + public static int econtains_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.econtains_tcbuffer_geo(temp, gs)); + + public static int ecovers_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ecovers_cbuffer_tcbuffer(cb, temp)); + + public static int ecovers_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.ecovers_tcbuffer_cbuffer(temp, cb)); + + public static int ecovers_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ecovers_tcbuffer_geo(temp, gs)); + + public static int ecovers_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ecovers_tcbuffer_tcbuffer(temp1, temp2)); + + public static int edisjoint_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.edisjoint_tcbuffer_geo(temp, gs)); + + public static int edisjoint_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.edisjoint_tcbuffer_cbuffer(temp, cb)); + + public static int edwithin_tcbuffer_geo(IntPtr temp, IntPtr gs, double dist) + => SafeExecution(() => MEOSExternalFunctions.edwithin_tcbuffer_geo(temp, gs, dist)); + + public static int edwithin_tcbuffer_cbuffer(IntPtr temp, IntPtr cb, double dist) + => SafeExecution(() => MEOSExternalFunctions.edwithin_tcbuffer_cbuffer(temp, cb, dist)); + + public static int edwithin_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2, double dist) + => SafeExecution(() => MEOSExternalFunctions.edwithin_tcbuffer_tcbuffer(temp1, temp2, dist)); + + public static int eintersects_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.eintersects_tcbuffer_geo(temp, gs)); + + public static int eintersects_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.eintersects_tcbuffer_cbuffer(temp, cb)); + + public static int eintersects_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.eintersects_tcbuffer_tcbuffer(temp1, temp2)); + + public static int etouches_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.etouches_tcbuffer_geo(temp, gs)); + + public static int etouches_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.etouches_tcbuffer_cbuffer(temp, cb)); + + public static int etouches_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.etouches_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr tcontains_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcontains_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr tcontains_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcontains_geo_tcbuffer(gs, temp)); + + public static IntPtr tcontains_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tcbuffer_geo(temp, gs)); + + public static IntPtr tcontains_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr tcontains_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr tcovers_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcovers_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr tcovers_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tcovers_geo_tcbuffer(gs, temp)); + + public static IntPtr tcovers_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tcbuffer_geo(temp, gs)); + + public static IntPtr tcovers_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr tcovers_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr tdwithin_geo_tcbuffer(IntPtr gs, IntPtr temp, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_geo_tcbuffer(gs, temp, dist)); + + public static IntPtr tdwithin_tcbuffer_geo(IntPtr temp, IntPtr gs, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tcbuffer_geo(temp, gs, dist)); + + public static IntPtr tdwithin_tcbuffer_cbuffer(IntPtr temp, IntPtr cb, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tcbuffer_cbuffer(temp, cb, dist)); + + public static IntPtr tdwithin_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2, double dist) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tcbuffer_tcbuffer(temp1, temp2, dist)); + + public static IntPtr tdisjoint_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr tdisjoint_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_geo_tcbuffer(gs, temp)); + + public static IntPtr tdisjoint_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tcbuffer_geo(temp, gs)); + + public static IntPtr tdisjoint_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr tdisjoint_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr tintersects_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tintersects_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr tintersects_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tintersects_geo_tcbuffer(gs, temp)); + + public static IntPtr tintersects_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tcbuffer_geo(temp, gs)); + + public static IntPtr tintersects_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr tintersects_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tcbuffer_tcbuffer(temp1, temp2)); + + public static IntPtr ttouches_geo_tcbuffer(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttouches_geo_tcbuffer(gs, temp)); + + public static IntPtr ttouches_tcbuffer_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tcbuffer_geo(temp, gs)); + + public static IntPtr ttouches_cbuffer_tcbuffer(IntPtr cb, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttouches_cbuffer_tcbuffer(cb, temp)); + + public static IntPtr ttouches_tcbuffer_cbuffer(IntPtr temp, IntPtr cb) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tcbuffer_cbuffer(temp, cb)); + + public static IntPtr ttouches_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tcbuffer_tcbuffer(temp1, temp2)); + public static IntPtr gsl_get_generation_rng() => SafeExecution(() => MEOSExternalFunctions.gsl_get_generation_rng()); @@ -6993,26 +7795,29 @@ public static void tspatialseq_set_stbox(IntPtr seq, IntPtr box) public static void tspatialseqset_set_stbox(IntPtr ss, IntPtr box) => SafeExecution(() => MEOSExternalFunctions.tspatialseqset_set_stbox(ss, box)); - public static IntPtr tgeo_restrict_geom(IntPtr temp, IntPtr gs, IntPtr zspan, bool atfunc) - => SafeExecution(() => MEOSExternalFunctions.tgeo_restrict_geom(temp, gs, zspan, atfunc)); + public static IntPtr tgeo_restrict_elevation(IntPtr temp, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeo_restrict_elevation(temp, s, atfunc)); + + public static IntPtr tgeo_restrict_geom(IntPtr temp, IntPtr gs, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeo_restrict_geom(temp, gs, atfunc)); public static IntPtr tgeo_restrict_stbox(IntPtr temp, IntPtr box, bool border_inc, bool atfunc) => SafeExecution(() => MEOSExternalFunctions.tgeo_restrict_stbox(temp, box, border_inc, atfunc)); - public static IntPtr tgeoinst_restrict_geom(IntPtr inst, IntPtr gs, IntPtr zspan, bool atfunc) - => SafeExecution(() => MEOSExternalFunctions.tgeoinst_restrict_geom(inst, gs, zspan, atfunc)); + public static IntPtr tgeoinst_restrict_geom(IntPtr inst, IntPtr gs, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoinst_restrict_geom(inst, gs, atfunc)); public static IntPtr tgeoinst_restrict_stbox(IntPtr inst, IntPtr box, bool border_inc, bool atfunc) => SafeExecution(() => MEOSExternalFunctions.tgeoinst_restrict_stbox(inst, box, border_inc, atfunc)); - public static IntPtr tgeoseq_restrict_geom(IntPtr seq, IntPtr gs, IntPtr zspan, bool atfunc) - => SafeExecution(() => MEOSExternalFunctions.tgeoseq_restrict_geom(seq, gs, zspan, atfunc)); + public static IntPtr tgeoseq_restrict_geom(IntPtr seq, IntPtr gs, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_restrict_geom(seq, gs, atfunc)); public static IntPtr tgeoseq_restrict_stbox(IntPtr seq, IntPtr box, bool border_inc, bool atfunc) => SafeExecution(() => MEOSExternalFunctions.tgeoseq_restrict_stbox(seq, box, border_inc, atfunc)); - public static IntPtr tgeoseqset_restrict_geom(IntPtr ss, IntPtr gs, IntPtr zspan, bool atfunc) - => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_restrict_geom(ss, gs, zspan, atfunc)); + public static IntPtr tgeoseqset_restrict_geom(IntPtr ss, IntPtr gs, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_restrict_geom(ss, gs, atfunc)); public static IntPtr tgeoseqset_restrict_stbox(IntPtr ss, IntPtr box, bool border_inc, bool atfunc) => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_restrict_stbox(ss, box, border_inc, atfunc)); @@ -7465,5 +8270,522 @@ public static IntPtr teq_tnpoint_npoint(IntPtr temp, IntPtr np) public static IntPtr tne_tnpoint_npoint(IntPtr temp, IntPtr np) => SafeExecution(() => MEOSExternalFunctions.tne_tnpoint_npoint(temp, np)); + public static string pose_as_ewkt(IntPtr pose, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.pose_as_ewkt(pose, maxdd)); + + public static string pose_as_hexwkb(IntPtr pose, IntPtr variant, IntPtr size) + => SafeExecution(() => MEOSExternalFunctions.pose_as_hexwkb(pose, variant, size)); + + public static string pose_as_text(IntPtr pose, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.pose_as_text(pose, maxdd)); + + public static IntPtr pose_as_wkb(IntPtr pose, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.pose_as_wkb(pose, variant, size_out)); + + public static IntPtr pose_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.pose_from_wkb(wkb, size)); + + public static IntPtr pose_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.pose_from_hexwkb(hexwkb)); + + public static IntPtr pose_in(string str) + => SafeExecution(() => MEOSExternalFunctions.pose_in(str)); + + public static string pose_out(IntPtr pose, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.pose_out(pose, maxdd)); + + public static IntPtr pose_copy(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_copy(pose)); + + public static IntPtr pose_make_2d(double x, double y, double theta, int srid) + => SafeExecution(() => MEOSExternalFunctions.pose_make_2d(x, y, theta, srid)); + + public static IntPtr pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int srid) + => SafeExecution(() => MEOSExternalFunctions.pose_make_3d(x, y, z, W, X, Y, Z, srid)); + + public static IntPtr pose_make_point2d(IntPtr gs, double theta) + => SafeExecution(() => MEOSExternalFunctions.pose_make_point2d(gs, theta)); + + public static IntPtr pose_make_point3d(IntPtr gs, double W, double X, double Y, double Z) + => SafeExecution(() => MEOSExternalFunctions.pose_make_point3d(gs, W, X, Y, Z)); + + public static IntPtr pose_to_point(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_to_point(pose)); + + public static IntPtr pose_to_stbox(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_to_stbox(pose)); + + public static uint pose_hash(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_hash(pose)); + + public static ulong pose_hash_extended(IntPtr pose, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.pose_hash_extended(pose, seed)); + + public static IntPtr pose_orientation(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_orientation(pose)); + + public static double pose_rotation(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_rotation(pose)); + + public static IntPtr pose_round(IntPtr pose, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.pose_round(pose, maxdd)); + + public static IntPtr posearr_round(IntPtr posearr, int count, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.posearr_round(posearr, count, maxdd)); + + public static void pose_set_srid(IntPtr pose, int srid) + => SafeExecution(() => MEOSExternalFunctions.pose_set_srid(pose, srid)); + + public static int pose_srid(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_srid(pose)); + + public static IntPtr pose_transform(IntPtr pose, int srid) + => SafeExecution(() => MEOSExternalFunctions.pose_transform(pose, srid)); + + public static IntPtr pose_transform_pipeline(IntPtr pose, string pipelinestr, int srid, bool is_forward) + => SafeExecution(() => MEOSExternalFunctions.pose_transform_pipeline(pose, pipelinestr, srid, is_forward)); + + public static IntPtr pose_tstzspan_to_stbox(IntPtr pose, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.pose_tstzspan_to_stbox(pose, s)); + + public static IntPtr pose_timestamptz_to_stbox(IntPtr pose, long t) + => SafeExecution(() => MEOSExternalFunctions.pose_timestamptz_to_stbox(pose, t)); + + public static double distance_pose_geo(IntPtr pose, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.distance_pose_geo(pose, gs)); + + public static double distance_pose_pose(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.distance_pose_pose(pose1, pose2)); + + public static double distance_pose_stbox(IntPtr pose, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.distance_pose_stbox(pose, box)); + + public static int pose_cmp(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_cmp(pose1, pose2)); + + public static bool pose_eq(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_eq(pose1, pose2)); + + public static bool pose_ge(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_ge(pose1, pose2)); + + public static bool pose_gt(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_gt(pose1, pose2)); + + public static bool pose_le(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_le(pose1, pose2)); + + public static bool pose_lt(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_lt(pose1, pose2)); + + public static bool pose_ne(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_ne(pose1, pose2)); + + public static bool pose_nsame(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_nsame(pose1, pose2)); + + public static bool pose_same(IntPtr pose1, IntPtr pose2) + => SafeExecution(() => MEOSExternalFunctions.pose_same(pose1, pose2)); + + public static IntPtr poseset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.poseset_in(str)); + + public static string poseset_out(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.poseset_out(s, maxdd)); + + public static IntPtr poseset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.poseset_make(values, count)); + + public static IntPtr pose_to_set(IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_to_set(pose)); + + public static IntPtr poseset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.poseset_end_value(s)); + + public static IntPtr poseset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.poseset_start_value(s)); + + public static bool poseset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.poseset_value_n(s, n, result)); + + public static IntPtr[] poseset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.poseset_values(s)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static bool contained_pose_set(IntPtr pose, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_pose_set(pose, s)); + + public static bool contains_set_pose(IntPtr s, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.contains_set_pose(s, pose)); + + public static IntPtr intersection_pose_set(IntPtr pose, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_pose_set(pose, s)); + + public static IntPtr intersection_set_pose(IntPtr s, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_pose(s, pose)); + + public static IntPtr minus_pose_set(IntPtr pose, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_pose_set(pose, s)); + + public static IntPtr minus_set_pose(IntPtr s, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.minus_set_pose(s, pose)); + + public static IntPtr pose_union_transfn(IntPtr state, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.pose_union_transfn(state, pose)); + + public static IntPtr union_pose_set(IntPtr pose, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_pose_set(pose, s)); + + public static IntPtr union_set_pose(IntPtr s, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.union_set_pose(s, pose)); + + public static IntPtr tpose_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tpose_in(str)); + + public static IntPtr tpose_make(IntPtr tpoint, IntPtr tradius) + => SafeExecution(() => MEOSExternalFunctions.tpose_make(tpoint, tradius)); + + public static IntPtr tpose_to_tpoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpose_to_tpoint(temp)); + + public static IntPtr tpose_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpose_end_value(temp)); + + public static IntPtr tpose_points(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpose_points(temp)); + + public static IntPtr tpose_rotation(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpose_rotation(temp)); + + public static IntPtr tpose_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpose_start_value(temp)); + + public static IntPtr tpose_trajectory(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpose_trajectory(temp)); + + public static bool tpose_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.tpose_value_at_timestamptz(temp, t, strict, value)); + + public static bool tpose_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tpose_value_n(temp, n, result)); + + public static IntPtr tpose_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tpose_values(temp, count)); + + public static IntPtr tpose_at_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tpose_at_geom(temp, gs)); + + public static IntPtr tpose_at_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tpose_at_stbox(temp, box, border_inc)); + + public static IntPtr tpose_at_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.tpose_at_pose(temp, pose)); + + public static IntPtr tpose_minus_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tpose_minus_geom(temp, gs)); + + public static IntPtr tpose_minus_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.tpose_minus_pose(temp, pose)); + + public static IntPtr tpose_minus_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tpose_minus_stbox(temp, box, border_inc)); + + public static IntPtr tdistance_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tpose_pose(temp, pose)); + + public static IntPtr tdistance_tpose_point(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tpose_point(temp, gs)); + + public static IntPtr tdistance_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tpose_tpose(temp1, temp2)); + + public static double nad_tpose_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nad_tpose_geo(temp, gs)); + + public static double nad_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.nad_tpose_pose(temp, pose)); + + public static double nad_tpose_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tpose_stbox(temp, box)); + + public static double nad_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tpose_tpose(temp1, temp2)); + + public static IntPtr nai_tpose_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nai_tpose_geo(temp, gs)); + + public static IntPtr nai_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.nai_tpose_pose(temp, pose)); + + public static IntPtr nai_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nai_tpose_tpose(temp1, temp2)); + + public static IntPtr shortestline_tpose_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tpose_geo(temp, gs)); + + public static IntPtr shortestline_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tpose_pose(temp, pose)); + + public static IntPtr shortestline_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tpose_tpose(temp1, temp2)); + + public static int always_eq_pose_tpose(IntPtr pose, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_pose_tpose(pose, temp)); + + public static int always_eq_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tpose_pose(temp, pose)); + + public static int always_eq_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tpose_tpose(temp1, temp2)); + + public static int always_ne_pose_tpose(IntPtr pose, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_pose_tpose(pose, temp)); + + public static int always_ne_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tpose_pose(temp, pose)); + + public static int always_ne_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tpose_tpose(temp1, temp2)); + + public static int ever_eq_pose_tpose(IntPtr pose, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_pose_tpose(pose, temp)); + + public static int ever_eq_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tpose_pose(temp, pose)); + + public static int ever_eq_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tpose_tpose(temp1, temp2)); + + public static int ever_ne_pose_tpose(IntPtr pose, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_pose_tpose(pose, temp)); + + public static int ever_ne_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tpose_pose(temp, pose)); + + public static int ever_ne_tpose_tpose(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tpose_tpose(temp1, temp2)); + + public static IntPtr teq_pose_tpose(IntPtr pose, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_pose_tpose(pose, temp)); + + public static IntPtr teq_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.teq_tpose_pose(temp, pose)); + + public static IntPtr tne_pose_tpose(IntPtr pose, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_pose_tpose(pose, temp)); + + public static IntPtr tne_tpose_pose(IntPtr temp, IntPtr pose) + => SafeExecution(() => MEOSExternalFunctions.tne_tpose_pose(temp, pose)); + + public static string trgeo_out(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_out(temp)); + + public static IntPtr trgeoinst_make(IntPtr geom, IntPtr pose, long t) + => SafeExecution(() => MEOSExternalFunctions.trgeoinst_make(geom, pose, t)); + + public static IntPtr geo_tpose_to_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.geo_tpose_to_trgeo(gs, temp)); + + public static IntPtr trgeo_to_tpose(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_to_tpose(temp)); + + public static IntPtr trgeo_to_tpoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_to_tpoint(temp)); + + public static IntPtr trgeo_end_instant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_end_instant(temp)); + + public static IntPtr trgeo_end_sequence(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_end_sequence(temp)); + + public static IntPtr trgeo_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_end_value(temp)); + + public static IntPtr trgeo_geom(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_geom(temp)); + + public static IntPtr trgeo_instant_n(IntPtr temp, int n) + => SafeExecution(() => MEOSExternalFunctions.trgeo_instant_n(temp, n)); + + public static IntPtr trgeo_instants(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.trgeo_instants(temp, count)); + + public static IntPtr trgeo_points(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_points(temp)); + + public static IntPtr trgeo_rotation(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_rotation(temp)); + + public static IntPtr trgeo_segments(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.trgeo_segments(temp, count)); + + public static IntPtr trgeo_sequence_n(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.trgeo_sequence_n(temp, i)); + + public static IntPtr trgeo_sequences(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.trgeo_sequences(temp, count)); + + public static IntPtr trgeo_start_instant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_start_instant(temp)); + + public static IntPtr trgeo_start_sequence(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_start_sequence(temp)); + + public static IntPtr trgeo_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_start_value(temp)); + + public static bool trgeo_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.trgeo_value_n(temp, n, result)); + + public static IntPtr trgeo_traversed_area(IntPtr temp, bool unary_union) + => SafeExecution(() => MEOSExternalFunctions.trgeo_traversed_area(temp, unary_union)); + + public static IntPtr trgeo_append_tinstant(IntPtr temp, IntPtr inst, int interp, double maxdist, IntPtr maxt, bool expand) + => SafeExecution(() => MEOSExternalFunctions.trgeo_append_tinstant(temp, inst, interp, maxdist, maxt, expand)); + + public static IntPtr trgeo_append_tsequence(IntPtr temp, IntPtr seq, bool expand) + => SafeExecution(() => MEOSExternalFunctions.trgeo_append_tsequence(temp, seq, expand)); + + public static IntPtr trgeo_delete_timestamptz(IntPtr temp, long t, bool connect) + => SafeExecution(() => MEOSExternalFunctions.trgeo_delete_timestamptz(temp, t, connect)); + + public static IntPtr trgeo_delete_tstzset(IntPtr temp, IntPtr s, bool connect) + => SafeExecution(() => MEOSExternalFunctions.trgeo_delete_tstzset(temp, s, connect)); + + public static IntPtr trgeo_delete_tstzspan(IntPtr temp, IntPtr s, bool connect) + => SafeExecution(() => MEOSExternalFunctions.trgeo_delete_tstzspan(temp, s, connect)); + + public static IntPtr trgeo_delete_tstzspanset(IntPtr temp, IntPtr ss, bool connect) + => SafeExecution(() => MEOSExternalFunctions.trgeo_delete_tstzspanset(temp, ss, connect)); + + public static IntPtr trgeo_round(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.trgeo_round(temp, maxdd)); + + public static IntPtr trgeo_set_interp(IntPtr temp, int interp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_set_interp(temp, interp)); + + public static IntPtr trgeo_to_tinstant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.trgeo_to_tinstant(temp)); + + public static IntPtr trgeo_after_timestamptz(IntPtr temp, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.trgeo_after_timestamptz(temp, t, strict)); + + public static IntPtr trgeo_before_timestamptz(IntPtr temp, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.trgeo_before_timestamptz(temp, t, strict)); + + public static IntPtr trgeo_restrict_value(IntPtr temp, ulong value, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.trgeo_restrict_value(temp, value, atfunc)); + + public static IntPtr trgeo_restrict_values(IntPtr temp, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.trgeo_restrict_values(temp, s, atfunc)); + + public static IntPtr trgeo_restrict_timestamptz(IntPtr temp, long t, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.trgeo_restrict_timestamptz(temp, t, atfunc)); + + public static IntPtr trgeo_restrict_tstzset(IntPtr temp, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.trgeo_restrict_tstzset(temp, s, atfunc)); + + public static IntPtr trgeo_restrict_tstzspan(IntPtr temp, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.trgeo_restrict_tstzspan(temp, s, atfunc)); + + public static IntPtr trgeo_restrict_tstzspanset(IntPtr temp, IntPtr ss, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.trgeo_restrict_tstzspanset(temp, ss, atfunc)); + + public static IntPtr tdistance_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdistance_trgeo_geo(temp, gs)); + + public static IntPtr tdistance_trgeo_tpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_trgeo_tpoint(temp1, temp2)); + + public static IntPtr tdistance_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_trgeo_trgeo(temp1, temp2)); + + public static double nad_stbox_trgeo(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.nad_stbox_trgeo(box, temp)); + + public static double nad_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nad_trgeo_geo(temp, gs)); + + public static double nad_trgeo_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_trgeo_stbox(temp, box)); + + public static double nad_trgeo_tpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_trgeo_tpoint(temp1, temp2)); + + public static double nad_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_trgeo_trgeo(temp1, temp2)); + + public static IntPtr nai_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nai_trgeo_geo(temp, gs)); + + public static IntPtr nai_trgeo_tpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nai_trgeo_tpoint(temp1, temp2)); + + public static IntPtr nai_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nai_trgeo_trgeo(temp1, temp2)); + + public static IntPtr shortestline_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.shortestline_trgeo_geo(temp, gs)); + + public static IntPtr shortestline_trgeo_tpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.shortestline_trgeo_tpoint(temp1, temp2)); + + public static IntPtr shortestline_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.shortestline_trgeo_trgeo(temp1, temp2)); + + public static int always_eq_geo_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_geo_trgeo(gs, temp)); + + public static int always_eq_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.always_eq_trgeo_geo(temp, gs)); + + public static int always_eq_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_eq_trgeo_trgeo(temp1, temp2)); + + public static int always_ne_geo_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_geo_trgeo(gs, temp)); + + public static int always_ne_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.always_ne_trgeo_geo(temp, gs)); + + public static int always_ne_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ne_trgeo_trgeo(temp1, temp2)); + + public static int ever_eq_geo_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_geo_trgeo(gs, temp)); + + public static int ever_eq_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_trgeo_geo(temp, gs)); + + public static int ever_eq_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_trgeo_trgeo(temp1, temp2)); + + public static int ever_ne_geo_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_geo_trgeo(gs, temp)); + + public static int ever_ne_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_trgeo_geo(temp, gs)); + + public static int ever_ne_trgeo_trgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_trgeo_trgeo(temp1, temp2)); + + public static IntPtr teq_geo_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_geo_trgeo(gs, temp)); + + public static IntPtr teq_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.teq_trgeo_geo(temp, gs)); + + public static IntPtr tne_geo_trgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_geo_trgeo(gs, temp)); + + public static IntPtr tne_trgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tne_trgeo_geo(temp, gs)); + } } diff --git a/MEOS.NET/Internal/MEOSExternalFunctions.cs b/MEOS.NET/Internal/MEOSExternalFunctions.cs index 72c2880..3e6895e 100644 --- a/MEOS.NET/Internal/MEOSExternalFunctions.cs +++ b/MEOS.NET/Internal/MEOSExternalFunctions.cs @@ -12,6 +12,240 @@ private partial class MEOSExternalFunctions { private const string DllPath = "meos"; + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string describeH3Error(uint err); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint latLngToCell(IntPtr g, int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToLatLng(ulong h3, IntPtr g); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToBoundary(ulong h3, IntPtr gp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint maxGridDiskSize(int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDiskUnsafe(ulong origin, int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDiskDistancesUnsafe(ulong origin, int k, IntPtr @out, IntPtr distances); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDiskDistancesSafe(ulong origin, int k, IntPtr @out, IntPtr distances); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDisksUnsafe(IntPtr h3Set, int length, int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDisk(ulong origin, int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDiskDistances(ulong origin, int k, IntPtr @out, IntPtr distances); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint maxGridRingSize(int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridRingUnsafe(ulong origin, int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridRing(ulong origin, int k, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint maxPolygonToCellsSize(IntPtr geoPolygon, int res, uint flags, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint polygonToCells(IntPtr geoPolygon, int res, uint flags, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint maxPolygonToCellsSizeExperimental(IntPtr polygon, int res, uint flags, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint polygonToCellsExperimental(IntPtr polygon, int res, uint flags, long size, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellsToLinkedMultiPolygon(IntPtr h3Set, int numHexes, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void destroyLinkedMultiPolygon(IntPtr polygon); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double degsToRads(double degrees); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double radsToDegs(double radians); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double greatCircleDistanceRads(IntPtr a, IntPtr b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double greatCircleDistanceKm(IntPtr a, IntPtr b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double greatCircleDistanceM(IntPtr a, IntPtr b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getHexagonAreaAvgKm2(int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getHexagonAreaAvgM2(int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellAreaRads2(ulong h, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellAreaKm2(ulong h, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellAreaM2(ulong h, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getHexagonEdgeLengthAvgKm(int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getHexagonEdgeLengthAvgM(int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint edgeLengthRads(ulong edge, IntPtr length); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint edgeLengthKm(ulong edge, IntPtr length); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint edgeLengthM(ulong edge, IntPtr length); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getNumCells(int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int res0CellCount(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getRes0Cells(IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int pentagonCount(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getPentagons(int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int getResolution(ulong h); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int getBaseCellNumber(ulong h); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getIndexDigit(ulong h, int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint constructCell(int res, int baseCellNumber, IntPtr digits, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint stringToH3(string str, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint h3ToString(ulong h, string str, ulong sz); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int isValidCell(ulong h); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int isValidIndex(ulong h); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToParent(ulong h, int parentRes, IntPtr parent); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToChildrenSize(ulong h, int childRes, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToChildren(ulong h, int childRes, IntPtr children); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToCenterChild(ulong h, int childRes, IntPtr child); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToChildPos(ulong child, int parentRes, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint childPosToCell(long childPos, ulong parent, int childRes, IntPtr child); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint compactCells(IntPtr h3Set, IntPtr compactedSet, long numHexes); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint uncompactCellsSize(IntPtr compactedSet, long numCompacted, int res, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint uncompactCells(IntPtr compactedSet, long numCompacted, IntPtr outSet, long numOut, int res); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int isResClassIII(ulong h); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int isPentagon(ulong h); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint maxFaceCount(ulong h3, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getIcosahedronFaces(ulong h3, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint areNeighborCells(ulong origin, ulong destination, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellsToDirectedEdge(ulong origin, ulong destination, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int isValidDirectedEdge(ulong edge); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getDirectedEdgeOrigin(ulong edge, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint getDirectedEdgeDestination(ulong edge, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint directedEdgeToCells(ulong edge, IntPtr originDestination); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint originToDirectedEdges(ulong origin, IntPtr edges); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint directedEdgeToBoundary(ulong edge, IntPtr gb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToVertex(ulong origin, int vertexNum, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToVertexes(ulong origin, IntPtr vertexes); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint vertexToLatLng(ulong vertex, IntPtr point); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int isValidVertex(ulong vertex); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridDistance(ulong origin, ulong h3, IntPtr distance); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridPathCellsSize(ulong start, ulong end, IntPtr size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint gridPathCells(ulong start, ulong end, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint cellToLocalIj(ulong origin, ulong h3, uint mode, IntPtr @out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint localIjToCell(ulong origin, IntPtr ij, uint mode, IntPtr @out); + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial int date_in(string str); @@ -45,6 +279,30 @@ private partial class MEOSExternalFunctions [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial string timestamptz_out(long t); + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr meos_array_create(int elem_size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_array_add(IntPtr array, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr meos_array_get(IntPtr array, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int meos_array_count(IntPtr array); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_array_reset(IntPtr array); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_array_reset_free(IntPtr array); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_array_destroy(IntPtr array); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_array_destroy_free(IntPtr array); + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial IntPtr rtree_create_intspan(); @@ -70,10 +328,16 @@ private partial class MEOSExternalFunctions public static partial void rtree_free(IntPtr rtree); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void rtree_insert(IntPtr rtree, IntPtr box, long id); + public static partial void rtree_insert(IntPtr rtree, IntPtr box, int id); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void rtree_insert_temporal(IntPtr rtree, IntPtr temp, int id); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int rtree_search(IntPtr rtree, IntPtr op, IntPtr query, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr rtree_search(IntPtr rtree, IntPtr query, IntPtr count); + public static partial int rtree_search_temporal(IntPtr rtree, IntPtr op, IntPtr temp, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial void meos_error(int errlevel, int errcode, string format); @@ -4059,6 +4323,12 @@ private partial class MEOSExternalFunctions [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial IntPtr temporal_extent_transfn(IntPtr s, IntPtr temp); + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_merge_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_merge_combinefn(IntPtr state1, IntPtr state2); + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial IntPtr temporal_tagg_finalfn(IntPtr state); @@ -4413,7 +4683,7 @@ private partial class MEOSExternalFunctions [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool temptype_continuous(int type); + public static partial bool temptype_supports_linear(int type); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] @@ -4424,7 +4694,7 @@ private partial class MEOSExternalFunctions public static partial bool basetype_varlength(int type); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial short basetype_length(int type); + public static partial short meostype_length(int type); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] @@ -5347,13 +5617,19 @@ private partial class MEOSExternalFunctions public static partial IntPtr tgeo_minus_value(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_at_geom(IntPtr temp, IntPtr gs, IntPtr zspan); + public static partial IntPtr tpoint_at_elevation(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_at_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial IntPtr tpoint_at_value(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_minus_geom(IntPtr temp, IntPtr gs, IntPtr zspan); + public static partial IntPtr tpoint_minus_elevation(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_minus_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial IntPtr tpoint_minus_value(IntPtr temp, IntPtr gs); @@ -5755,58 +6031,58 @@ private partial class MEOSExternalFunctions public static partial int etouches_tpoint_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontains_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tcontains_geo_tgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontains_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tcontains_tgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tcontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcovers_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tcovers_geo_tgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcovers_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tcovers_tgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tcovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdisjoint_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tdisjoint_geo_tgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdisjoint_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tdisjoint_tgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tdisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdwithin_geo_tgeo(IntPtr gs, IntPtr temp, double dist, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tdwithin_geo_tgeo(IntPtr gs, IntPtr temp, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tdwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tdwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintersects_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tintersects_geo_tgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintersects_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tintersects_tgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr tintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttouches_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr ttouches_geo_tgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttouches_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr ttouches_tgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + public static partial IntPtr ttouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] public static partial IntPtr tdistance_tgeo_geo(IntPtr temp, IntPtr gs); @@ -5887,1962 +6163,3019 @@ private partial class MEOSExternalFunctions public static partial IntPtr geo_cluster_within(IntPtr geoms, uint ngeoms, double tolerance, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr gsl_get_generation_rng(); + public static partial string cbuffer_as_ewkt(IntPtr cb, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr gsl_get_aggregation_rng(); + public static partial string cbuffer_as_hexwkb(IntPtr cb, IntPtr variant, IntPtr size); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_ceil(ulong d); + public static partial string cbuffer_as_text(IntPtr cb, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_degrees(ulong d, ulong normalize); + public static partial IntPtr cbuffer_as_wkb(IntPtr cb, IntPtr variant, IntPtr size_out); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_float_round(ulong value, ulong size); + public static partial IntPtr cbuffer_from_hexwkb(string hexwkb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_floor(ulong d); + public static partial IntPtr cbuffer_from_wkb(IntPtr wkb, ulong size); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint datum_hash(ulong d, int basetype); + public static partial IntPtr cbuffer_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_hash_extended(ulong d, int basetype, ulong seed); + public static partial string cbuffer_out(IntPtr cb, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_radians(ulong d); + public static partial IntPtr cbuffer_copy(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void floatspan_round_set(IntPtr s, int maxdd, IntPtr result); + public static partial IntPtr cbuffer_make(IntPtr point, double radius); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_in(string str, int basetype); + public static partial IntPtr cbuffer_to_geom(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string set_out(IntPtr s, int maxdd); + public static partial IntPtr cbuffer_to_stbox(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_in(string str, int spantype); + public static partial IntPtr cbufferarr_to_geom(IntPtr cbarr, int count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string span_out(IntPtr s, int maxdd); + public static partial IntPtr geom_to_cbuffer(IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_in(string str, int spantype); + public static partial uint cbuffer_hash(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string spanset_out(IntPtr ss, int maxdd); + public static partial ulong cbuffer_hash_extended(IntPtr cb, ulong seed); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_make(IntPtr values, int count, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); + public static partial IntPtr cbuffer_point(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_make_exp(IntPtr values, int count, int maxcount, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); + public static partial double cbuffer_radius(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_make_free(IntPtr values, int count, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); + public static partial IntPtr cbuffer_round(IntPtr cb, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_make(ulong lower, ulong upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int basetype); + public static partial IntPtr cbufferarr_round(IntPtr cbarr, int count, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void span_set(ulong lower, ulong upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int basetype, int spantype, IntPtr s); + public static partial void cbuffer_set_srid(IntPtr cb, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_make_exp(IntPtr spans, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool normalize, [MarshalAs(UnmanagedType.U1)] bool order); + public static partial int cbuffer_srid(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_make_free(IntPtr spans, int count, [MarshalAs(UnmanagedType.U1)] bool normalize, [MarshalAs(UnmanagedType.U1)] bool order); + public static partial IntPtr cbuffer_transform(IntPtr cb, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_span(IntPtr s); + public static partial IntPtr cbuffer_transform_pipeline(IntPtr cb, string pipelinestr, int srid, [MarshalAs(UnmanagedType.U1)] bool is_forward); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_spanset(IntPtr s); + public static partial int contains_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void value_set_span(ulong value, int basetype, IntPtr s); + public static partial int covers_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr value_set(ulong d, int basetype); + public static partial int disjoint_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr value_span(ulong d, int basetype); + public static partial int dwithin_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr value_spanset(ulong d, int basetype); + public static partial int intersects_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong numspan_width(IntPtr s); + public static partial int touches_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong numspanset_width(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + public static partial IntPtr cbuffer_tstzspan_to_stbox(IntPtr cb, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong set_end_value(IntPtr s); + public static partial IntPtr cbuffer_timestamptz_to_stbox(IntPtr cb, long t); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int set_mem_size(IntPtr s); + public static partial double distance_cbuffer_cbuffer(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void set_set_subspan(IntPtr s, int minidx, int maxidx, IntPtr result); + public static partial double distance_cbuffer_geo(IntPtr cb, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void set_set_span(IntPtr s, IntPtr result); + public static partial double distance_cbuffer_stbox(IntPtr cb, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong set_start_value(IntPtr s); + public static partial double nad_cbuffer_stbox(IntPtr cb, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int cbuffer_cmp(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool set_value_n(IntPtr s, int n, IntPtr result); + public static partial bool cbuffer_eq(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_vals(IntPtr s); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_ge(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_values(IntPtr s); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_gt(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong spanset_lower(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_le(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int spanset_mem_size(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_lt(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_sps(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_ne(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong spanset_upper(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_nsame(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void datespan_set_tstzspan(IntPtr s1, IntPtr s2); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbuffer_same(IntPtr cb1, IntPtr cb2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void floatspan_set_intspan(IntPtr s1, IntPtr s2); + public static partial IntPtr cbufferset_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void intspan_set_floatspan(IntPtr s1, IntPtr s2); + public static partial string cbufferset_out(IntPtr s, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numset_shift_scale(IntPtr s, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial IntPtr cbufferset_make(IntPtr values, int count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspan_expand(IntPtr s, ulong value); + public static partial IntPtr cbuffer_to_set(IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspan_shift_scale(IntPtr s, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial IntPtr cbufferset_end_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspanset_shift_scale(IntPtr ss, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial IntPtr cbufferset_start_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_compact(IntPtr s); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool cbufferset_value_n(IntPtr s, int n, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void span_expand(IntPtr s1, IntPtr s2); + public static partial IntPtr cbufferset_values(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_compact(IntPtr ss); + public static partial IntPtr cbuffer_union_transfn(IntPtr state, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_expand_value(IntPtr box, ulong value, int basetyp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_cbuffer_set(IntPtr cb, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textcat_textset_text_common(IntPtr s, IntPtr txt, [MarshalAs(UnmanagedType.U1)] bool invert); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_cbuffer(IntPtr s, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tstzspan_set_datespan(IntPtr s1, IntPtr s2); + public static partial IntPtr intersection_cbuffer_set(IntPtr cb, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool adjacent_span_value(IntPtr s, ulong value); + public static partial IntPtr intersection_set_cbuffer(IntPtr s, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool adjacent_spanset_value(IntPtr ss, ulong value); + public static partial IntPtr minus_cbuffer_set(IntPtr cb, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool adjacent_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr minus_set_cbuffer(IntPtr s, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contained_value_set(ulong value, IntPtr s); + public static partial IntPtr union_cbuffer_set(IntPtr cb, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contained_value_span(ulong value, IntPtr s); + public static partial IntPtr union_set_cbuffer(IntPtr s, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contained_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr tcbuffer_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contains_set_value(IntPtr s, ulong value); + public static partial IntPtr tcbuffer_make(IntPtr tpoint, IntPtr tfloat); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contains_span_value(IntPtr s, ulong value); + public static partial IntPtr tcbuffer_points(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contains_spanset_value(IntPtr ss, ulong value); + public static partial IntPtr tcbuffer_radius(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool ovadj_span_span(IntPtr s1, IntPtr s2); + public static partial IntPtr tcbuffer_trav_area(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool merge_union); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool left_set_value(IntPtr s, ulong value); + public static partial IntPtr tcbuffer_to_tfloat(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool left_span_value(IntPtr s, ulong value); + public static partial IntPtr tcbuffer_to_tgeompoint(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool left_spanset_value(IntPtr ss, ulong value); + public static partial IntPtr tgeometry_to_tcbuffer(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool left_value_set(ulong value, IntPtr s); + public static partial IntPtr tcbuffer_expand(IntPtr temp, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool left_value_span(ulong value, IntPtr s); + public static partial IntPtr tcbuffer_at_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool left_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr tcbuffer_at_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool lfnadj_span_span(IntPtr s1, IntPtr s2); + public static partial IntPtr tcbuffer_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overleft_set_value(IntPtr s, ulong value); + public static partial IntPtr tcbuffer_minus_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overleft_span_value(IntPtr s, ulong value); + public static partial IntPtr tcbuffer_minus_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overleft_spanset_value(IntPtr ss, ulong value); + public static partial IntPtr tcbuffer_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overleft_value_set(ulong value, IntPtr s); + public static partial IntPtr tdistance_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overleft_value_span(ulong value, IntPtr s); + public static partial IntPtr tdistance_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overleft_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr tdistance_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overright_set_value(IntPtr s, ulong value); + public static partial double nad_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overright_span_value(IntPtr s, ulong value); + public static partial double nad_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overright_spanset_value(IntPtr ss, ulong value); + public static partial double nad_tcbuffer_stbox(IntPtr temp, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overright_value_set(ulong value, IntPtr s); + public static partial double nad_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overright_value_span(ulong value, IntPtr s); + public static partial IntPtr nai_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool overright_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr nai_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool right_value_set(ulong value, IntPtr s); + public static partial IntPtr nai_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool right_set_value(IntPtr s, ulong value); + public static partial IntPtr shortestline_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool right_value_span(ulong value, IntPtr s); + public static partial IntPtr shortestline_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool right_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr shortestline_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool right_span_value(IntPtr s, ulong value); + public static partial int always_eq_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool right_spanset_value(IntPtr ss, ulong value); + public static partial int always_eq_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool bbox_type(int bboxtype); + public static partial int always_eq_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong bbox_get_size(int bboxtype); + public static partial int always_ne_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int bbox_max_dims(int bboxtype); + public static partial int always_ne_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool temporal_bbox_eq(IntPtr box1, IntPtr box2, int temptype); + public static partial int always_ne_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int temporal_bbox_cmp(IntPtr box1, IntPtr box2, int temptype); + public static partial int ever_eq_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void bbox_union_span_span(IntPtr s1, IntPtr s2, IntPtr result); + public static partial int ever_eq_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool inter_span_span(IntPtr s1, IntPtr s2, IntPtr result); + public static partial int ever_eq_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_value(IntPtr s, ulong value); + public static partial int ever_ne_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_value(IntPtr s, ulong value); + public static partial int ever_ne_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_value(IntPtr ss, ulong value); + public static partial int ever_ne_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_value_set(ulong value, IntPtr s); + public static partial IntPtr teq_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_value_span(ulong value, IntPtr s); + public static partial IntPtr teq_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_value_spanset(ulong value, IntPtr ss); + public static partial IntPtr tne_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int mi_span_span(IntPtr s1, IntPtr s2, IntPtr result); + public static partial IntPtr tne_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_value(IntPtr s, ulong value); + public static partial int acontains_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_value(IntPtr s, ulong value); + public static partial int acontains_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_value(IntPtr ss, ulong value); + public static partial int acontains_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_value_set(ulong value, IntPtr s); + public static partial int acontains_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_value_span(ulong value, IntPtr s); + public static partial int acovers_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_value_spanset(ulong value, IntPtr ss); + public static partial int acovers_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr super_union_span_span(IntPtr s1, IntPtr s2); + public static partial int acovers_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_value(IntPtr s, ulong value); + public static partial int acovers_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_value(IntPtr s, ulong value); + public static partial int adisjoint_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_value(IntPtr ss, ulong value); + public static partial int adisjoint_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_value_set(ulong value, IntPtr s); + public static partial int adisjoint_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_value_span(ulong value, IntPtr s); + public static partial int adwithin_tcbuffer_geo(IntPtr temp, IntPtr gs, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_value_spanset(ulong value, IntPtr ss); + public static partial int adwithin_tcbuffer_cbuffer(IntPtr temp, IntPtr cb, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_set_set(IntPtr s1, IntPtr s2); + public static partial int adwithin_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_set_value(IntPtr s, ulong value); + public static partial int aintersects_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_span_span(IntPtr s1, IntPtr s2); + public static partial int aintersects_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_span_value(IntPtr s, ulong value); + public static partial int aintersects_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_spanset_span(IntPtr ss, IntPtr s); + public static partial int atouches_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_spanset_spanset(IntPtr ss1, IntPtr ss2); + public static partial int atouches_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_spanset_value(IntPtr ss, ulong value); + public static partial int atouches_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong distance_value_value(ulong l, ulong r, int basetype); + public static partial int econtains_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanbase_extent_transfn(IntPtr state, ulong value, int basetype); + public static partial int econtains_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr value_union_transfn(IntPtr state, ulong value, int basetype); + public static partial int econtains_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr number_tstzspan_to_tbox(ulong d, int basetype, IntPtr s); + public static partial int ecovers_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr number_timestamptz_to_tbox(ulong d, int basetype, long t); + public static partial int ecovers_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tbox_set(IntPtr s, IntPtr p, IntPtr box); + public static partial int ecovers_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void float_set_tbox(double d, IntPtr box); + public static partial int ecovers_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void int_set_tbox(int i, IntPtr box); + public static partial int edisjoint_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void number_set_tbox(ulong d, int basetype, IntPtr box); + public static partial int edisjoint_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr number_tbox(ulong value, int basetype); + public static partial int edwithin_tcbuffer_geo(IntPtr temp, IntPtr gs, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void numset_set_tbox(IntPtr s, IntPtr box); + public static partial int edwithin_tcbuffer_cbuffer(IntPtr temp, IntPtr cb, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void numspan_set_tbox(IntPtr span, IntPtr box); + public static partial int edwithin_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void timestamptz_set_tbox(long t, IntPtr box); + public static partial int eintersects_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tstzset_set_tbox(IntPtr s, IntPtr box); + public static partial int eintersects_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tstzspan_set_tbox(IntPtr s, IntPtr box); + public static partial int eintersects_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_shift_scale_value(IntPtr box, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial int etouches_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tbox_expand(IntPtr box1, IntPtr box2); + public static partial int etouches_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool inter_tbox_tbox(IntPtr box1, IntPtr box2, IntPtr result); + public static partial int etouches_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolinst_from_mfjson(IntPtr mfjson); + public static partial IntPtr tcontains_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolinst_in(string str); + public static partial IntPtr tcontains_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseq_from_mfjson(IntPtr mfjson); + public static partial IntPtr tcontains_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseq_in(string str, int interp); + public static partial IntPtr tcontains_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseqset_from_mfjson(IntPtr mfjson); + public static partial IntPtr tcontains_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseqset_in(string str); + public static partial IntPtr tcovers_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_in(string str, int temptype); + public static partial IntPtr tcovers_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string temporal_out(IntPtr temp, int maxdd); + public static partial IntPtr tcovers_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temparr_out(IntPtr temparr, int count, int maxdd); + public static partial IntPtr tcovers_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatinst_from_mfjson(IntPtr mfjson); + public static partial IntPtr tcovers_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatinst_in(string str); + public static partial IntPtr tdwithin_geo_tcbuffer(IntPtr gs, IntPtr temp, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseq_from_mfjson(IntPtr mfjson, int interp); + public static partial IntPtr tdwithin_tcbuffer_geo(IntPtr temp, IntPtr gs, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseq_in(string str, int interp); + public static partial IntPtr tdwithin_tcbuffer_cbuffer(IntPtr temp, IntPtr cb, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseqset_from_mfjson(IntPtr mfjson, int interp); + public static partial IntPtr tdwithin_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2, double dist); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseqset_in(string str); + public static partial IntPtr tdisjoint_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype); + public static partial IntPtr tdisjoint_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_in(string str, int temptype); + public static partial IntPtr tdisjoint_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tinstant_out(IntPtr inst, int maxdd); + public static partial IntPtr tdisjoint_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintinst_from_mfjson(IntPtr mfjson); + public static partial IntPtr tdisjoint_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintinst_in(string str); + public static partial IntPtr tintersects_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseq_from_mfjson(IntPtr mfjson); + public static partial IntPtr tintersects_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseq_in(string str, int interp); + public static partial IntPtr tintersects_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseqset_from_mfjson(IntPtr mfjson); + public static partial IntPtr tintersects_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseqset_in(string str); + public static partial IntPtr tintersects_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype, int interp); + public static partial IntPtr ttouches_geo_tcbuffer(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_in(string str, int temptype, int interp); + public static partial IntPtr ttouches_tcbuffer_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tsequence_out(IntPtr seq, int maxdd); + public static partial IntPtr ttouches_cbuffer_tcbuffer(IntPtr cb, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype, int interp); + public static partial IntPtr ttouches_tcbuffer_cbuffer(IntPtr temp, IntPtr cb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_in(string str, int temptype, int interp); + public static partial IntPtr ttouches_tcbuffer_tcbuffer(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tsequenceset_out(IntPtr ss, int maxdd); + public static partial IntPtr gsl_get_generation_rng(); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextinst_from_mfjson(IntPtr mfjson); + public static partial IntPtr gsl_get_aggregation_rng(); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextinst_in(string str); + public static partial ulong datum_ceil(ulong d); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseq_from_mfjson(IntPtr mfjson); + public static partial ulong datum_degrees(ulong d, ulong normalize); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseq_in(string str, int interp); + public static partial ulong datum_float_round(ulong value, ulong size); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseqset_from_mfjson(IntPtr mfjson); + public static partial ulong datum_floor(ulong d); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseqset_in(string str); + public static partial uint datum_hash(ulong d, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_from_mfjson(string mfjson, int temptype); + public static partial ulong datum_hash_extended(ulong d, int basetype, ulong seed); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_from_base_temp(ulong value, int temptype, IntPtr temp); + public static partial ulong datum_radians(ulong d); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_copy(IntPtr inst); + public static partial void floatspan_round_set(IntPtr s, int maxdd, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_make(ulong value, int temptype, long t); + public static partial IntPtr set_in(string str, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_make_free(ulong value, int temptype, long t); + public static partial string set_out(IntPtr s, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_copy(IntPtr seq); + public static partial IntPtr span_in(string str, int spantype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_from_base_temp(ulong value, int temptype, IntPtr seq); + public static partial string span_out(IntPtr s, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_from_base_tstzset(ulong value, int temptype, IntPtr s); + public static partial IntPtr spanset_in(string str, int spantype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_from_base_tstzspan(ulong value, int temptype, IntPtr s, int interp); + public static partial string spanset_out(IntPtr ss, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_make_exp(IntPtr instants, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + public static partial IntPtr set_make(IntPtr values, int count, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_make_free(IntPtr instants, int count, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + public static partial IntPtr set_make_exp(IntPtr values, int count, int maxcount, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_copy(IntPtr ss); + public static partial IntPtr set_make_free(IntPtr values, int count, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tseqsetarr_to_tseqset(IntPtr seqsets, int count, int totalseqs); + public static partial IntPtr span_make(ulong lower, ulong upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_from_base_temp(ulong value, int temptype, IntPtr ss); + public static partial void span_set(ulong lower, ulong upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int basetype, int spantype, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_from_base_tstzspanset(ulong value, int temptype, IntPtr ss, int interp); + public static partial IntPtr spanset_make_exp(IntPtr spans, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool normalize, [MarshalAs(UnmanagedType.U1)] bool order); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_make_exp(IntPtr sequences, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool normalize); + public static partial IntPtr spanset_make_free(IntPtr spans, int count, [MarshalAs(UnmanagedType.U1)] bool normalize, [MarshalAs(UnmanagedType.U1)] bool order); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_make_free(IntPtr sequences, int count, [MarshalAs(UnmanagedType.U1)] bool normalize); + public static partial IntPtr set_span(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void temporal_set_tstzspan(IntPtr temp, IntPtr s); + public static partial IntPtr set_spanset(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tinstant_set_tstzspan(IntPtr inst, IntPtr s); + public static partial void value_set_span(ulong value, int basetype, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tnumber_set_tbox(IntPtr temp, IntPtr box); + public static partial IntPtr value_set(ulong d, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tnumberinst_set_tbox(IntPtr inst, IntPtr box); + public static partial IntPtr value_span(ulong d, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tnumberseq_set_tbox(IntPtr seq, IntPtr box); + public static partial IntPtr value_spanset(ulong d, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tnumberseqset_set_tbox(IntPtr ss, IntPtr box); + public static partial ulong numspan_width(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequence_set_tstzspan(IntPtr seq, IntPtr s); + public static partial ulong numspanset_width(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequenceset_set_tstzspan(IntPtr ss, IntPtr s); + public static partial ulong set_end_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_end_inst(IntPtr temp); + public static partial int set_mem_size(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong temporal_end_value(IntPtr temp); + public static partial void set_set_subspan(IntPtr s, int minidx, int maxidx, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_inst_n(IntPtr temp, int n); + public static partial void set_set_span(IntPtr s, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_insts_p(IntPtr temp, IntPtr count); + public static partial ulong set_start_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_max_inst_p(IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_value_n(IntPtr s, int n, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong temporal_max_value(IntPtr temp); + public static partial IntPtr set_vals(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong temporal_mem_size(IntPtr temp); + public static partial IntPtr set_values(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_min_inst_p(IntPtr temp); + public static partial ulong spanset_lower(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong temporal_min_value(IntPtr temp); + public static partial int spanset_mem_size(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_sequences_p(IntPtr temp, IntPtr count); + public static partial IntPtr spanset_sps(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void temporal_set_bbox(IntPtr temp, IntPtr box); + public static partial ulong spanset_upper(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_start_inst(IntPtr temp); + public static partial void datespan_set_tstzspan(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong temporal_start_value(IntPtr temp); + public static partial void floatspan_set_intspan(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_values_p(IntPtr temp, IntPtr count); + public static partial void intspan_set_floatspan(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool temporal_value_n(IntPtr temp, int n, IntPtr result); + public static partial IntPtr numset_shift_scale(IntPtr s, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_values(IntPtr temp, IntPtr count); + public static partial IntPtr numspan_expand(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint tinstant_hash(IntPtr inst); + public static partial IntPtr numspan_shift_scale(IntPtr s, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_insts(IntPtr inst, IntPtr count); + public static partial IntPtr numspanset_shift_scale(IntPtr ss, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tinstant_set_bbox(IntPtr inst, IntPtr box); + public static partial IntPtr set_compact(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_time(IntPtr inst); + public static partial void span_expand(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_timestamps(IntPtr inst, IntPtr count); + public static partial IntPtr spanset_compact(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong tinstant_value_p(IntPtr inst); + public static partial IntPtr tbox_expand_value(IntPtr box, ulong value, int basetyp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong tinstant_value(IntPtr inst); + public static partial IntPtr textcat_textset_text_common(IntPtr s, IntPtr txt, [MarshalAs(UnmanagedType.U1)] bool invert); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspan_set_datespan(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tinstant_value_at_timestamptz(IntPtr inst, long t, IntPtr result); + public static partial bool adjacent_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_values_p(IntPtr inst, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tnumber_set_span(IntPtr temp, IntPtr span); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberinst_valuespans(IntPtr inst); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumberseq_avg_val(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseq_valuespans(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumberseqset_avg_val(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_valuespans(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_duration(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tsequence_end_timestamptz(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ovadj_span_span(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint tsequence_hash(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_insts_p(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_max_inst_p(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong tsequence_max_val(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_min_inst_p(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong tsequence_min_val(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_segments(IntPtr seq, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool lfnadj_span_span(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_seqs(IntPtr seq, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tsequence_start_timestamptz(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_time(IntPtr seq); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_timestamps(IntPtr seq, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tsequence_value_at_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + public static partial bool overleft_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_values_p(IntPtr seq, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_duration(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tsequenceset_end_timestamptz(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint tsequenceset_hash(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_inst_n(IntPtr ss, int n); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_insts_p(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_max_inst_p(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong tsequenceset_max_val(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_min_inst_p(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong tsequenceset_min_val(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tsequenceset_num_instants(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tsequenceset_num_timestamps(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_segments(IntPtr ss, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_sequences_p(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool bbox_type(int bboxtype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tsequenceset_start_timestamptz(IntPtr ss); + public static partial ulong bbox_get_size(int bboxtype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_time(IntPtr ss); + public static partial int bbox_max_dims(int bboxtype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tsequenceset_timestamptz_n(IntPtr ss, int n, IntPtr result); + public static partial bool temporal_bbox_eq(IntPtr box1, IntPtr box2, int temptype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_timestamps(IntPtr ss, IntPtr count); + public static partial int temporal_bbox_cmp(IntPtr box1, IntPtr box2, int temptype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tsequenceset_value_at_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + public static partial void bbox_union_span_span(IntPtr s1, IntPtr s2, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tsequenceset_value_n(IntPtr ss, int n, IntPtr result); + public static partial bool inter_span_span(IntPtr s1, IntPtr s2, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_values_p(IntPtr ss, IntPtr count); + public static partial IntPtr intersection_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void temporal_restart(IntPtr temp, int count); + public static partial IntPtr intersection_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_tsequence(IntPtr temp, int interp); + public static partial IntPtr intersection_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_tsequenceset(IntPtr temp, int interp); + public static partial IntPtr intersection_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_shift_time(IntPtr inst, IntPtr interv); + public static partial IntPtr intersection_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_to_tsequence(IntPtr inst, int interp); + public static partial IntPtr intersection_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_to_tsequence_free(IntPtr inst, int interp); + public static partial int mi_span_span(IntPtr s1, IntPtr s2, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_to_tsequenceset(IntPtr inst, int interp); + public static partial IntPtr minus_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_shift_scale_value(IntPtr temp, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial IntPtr minus_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberinst_shift_value(IntPtr inst, ulong shift); + public static partial IntPtr minus_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseq_shift_scale_value(IntPtr seq, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial IntPtr minus_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_shift_scale_value(IntPtr ss, ulong start, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + public static partial IntPtr minus_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequence_restart(IntPtr seq, int count); + public static partial IntPtr minus_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_set_interp(IntPtr seq, int interp); + public static partial IntPtr super_union_span_span(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_shift_scale_time(IntPtr seq, IntPtr shift, IntPtr duration); + public static partial IntPtr union_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_subseq(IntPtr seq, int from, int to, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + public static partial IntPtr union_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_to_tinstant(IntPtr seq); + public static partial IntPtr union_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_to_tsequenceset(IntPtr seq); + public static partial IntPtr union_value_set(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_to_tsequenceset_free(IntPtr seq); + public static partial IntPtr union_value_span(ulong value, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_to_tsequenceset_interp(IntPtr seq, int interp); + public static partial IntPtr union_value_spanset(ulong value, IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequenceset_restart(IntPtr ss, int count); + public static partial ulong distance_set_set(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_set_interp(IntPtr ss, int interp); + public static partial ulong distance_set_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_shift_scale_time(IntPtr ss, IntPtr start, IntPtr duration); + public static partial ulong distance_span_span(IntPtr s1, IntPtr s2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_to_discrete(IntPtr ss); + public static partial ulong distance_span_value(IntPtr s, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_to_linear(IntPtr ss); + public static partial ulong distance_spanset_span(IntPtr ss, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_to_step(IntPtr ss); + public static partial ulong distance_spanset_spanset(IntPtr ss1, IntPtr ss2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_to_tinstant(IntPtr ss); + public static partial ulong distance_spanset_value(IntPtr ss, ulong value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_to_tsequence(IntPtr ss); + public static partial ulong distance_value_value(ulong l, ulong r, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_merge(IntPtr inst1, IntPtr inst2); + public static partial IntPtr spanbase_extent_transfn(IntPtr state, ulong value, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_merge_array(IntPtr instants, int count); + public static partial IntPtr value_union_transfn(IntPtr state, ulong value, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_append_tinstant(IntPtr seq, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + public static partial IntPtr number_tstzspan_to_tbox(ulong d, int basetype, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_append_tsequence(IntPtr seq1, IntPtr seq2, [MarshalAs(UnmanagedType.U1)] bool expand); + public static partial IntPtr number_timestamptz_to_tbox(ulong d, int basetype, long t); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_delete_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool connect); + public static partial void tbox_set(IntPtr s, IntPtr p, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_delete_tstzset(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + public static partial void float_set_tbox(double d, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_delete_tstzspan(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + public static partial void int_set_tbox(int i, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_delete_tstzspanset(IntPtr seq, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool connect); + public static partial void number_set_tbox(ulong d, int basetype, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_insert(IntPtr seq1, IntPtr seq2, [MarshalAs(UnmanagedType.U1)] bool connect); + public static partial IntPtr number_tbox(ulong value, int basetype); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_merge(IntPtr seq1, IntPtr seq2); + public static partial void numset_set_tbox(IntPtr s, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_merge_array(IntPtr sequences, int count); + public static partial void numspan_set_tbox(IntPtr span, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_append_tinstant(IntPtr ss, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + public static partial void timestamptz_set_tbox(long t, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_append_tsequence(IntPtr ss, IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool expand); + public static partial void tstzset_set_tbox(IntPtr s, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_delete_timestamptz(IntPtr ss, long t); + public static partial void tstzspan_set_tbox(IntPtr s, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_delete_tstzset(IntPtr ss, IntPtr s); + public static partial IntPtr tbox_shift_scale_value(IntPtr box, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_delete_tstzspan(IntPtr ss, IntPtr s); + public static partial void tbox_expand(IntPtr box1, IntPtr box2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_delete_tstzspanset(IntPtr ss, IntPtr ps); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool inter_tbox_tbox(IntPtr box1, IntPtr box2, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_insert(IntPtr ss1, IntPtr ss2); + public static partial IntPtr tboolinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseq_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseqset_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_in(string str, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string temporal_out(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temparr_out(IntPtr temparr, int count, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseq_from_mfjson(IntPtr mfjson, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseqset_from_mfjson(IntPtr mfjson, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_in(string str, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tinstant_out(IntPtr inst, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseq_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseqset_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_in(string str, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tsequence_out(IntPtr seq, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_in(string str, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tsequenceset_out(IntPtr ss, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseq_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseqset_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_from_mfjson(string mfjson, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_from_base_temp(ulong value, int temptype, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_copy(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_make(ulong value, int temptype, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_make_free(ulong value, int temptype, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_copy(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_base_temp(ulong value, int temptype, IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_base_tstzset(ulong value, int temptype, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_base_tstzspan(ulong value, int temptype, IntPtr s, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_make_exp(IntPtr instants, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_make_free(IntPtr instants, int count, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_copy(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tseqsetarr_to_tseqset(IntPtr seqsets, int count, int totalseqs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_from_base_temp(ulong value, int temptype, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_from_base_tstzspanset(ulong value, int temptype, IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_make_exp(IntPtr sequences, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_make_free(IntPtr sequences, int count, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_set_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tinstant_set_tstzspan(IntPtr inst, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumber_set_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumberinst_set_tbox(IntPtr inst, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumberseq_set_tbox(IntPtr seq, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumberseqset_set_tbox(IntPtr ss, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_set_tstzspan(IntPtr seq, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_set_tstzspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_end_inst(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_inst_n(IntPtr temp, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_insts_p(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_max_inst_p(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_max_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_mem_size(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_min_inst_p(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_min_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_sequences_p(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_set_bbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_start_inst(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_values_p(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tinstant_hash(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_insts(IntPtr inst, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tinstant_set_bbox(IntPtr inst, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_time(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_timestamps(IntPtr inst, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tinstant_value_p(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tinstant_value(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tinstant_value_at_timestamptz(IntPtr inst, long t, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_values_p(IntPtr inst, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumber_set_span(IntPtr temp, IntPtr span); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_valuespans(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseq_avg_val(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_valuespans(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseqset_avg_val(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_valuespans(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_duration(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequence_end_timestamptz(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tsequence_hash(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_insts_p(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_max_inst_p(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequence_max_val(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_min_inst_p(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequence_min_val(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_segments(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_seqs(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequence_start_timestamptz(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_time(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_timestamps(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequence_value_at_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_values_p(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_duration(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequenceset_end_timestamptz(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tsequenceset_hash(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_inst_n(IntPtr ss, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_insts_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_max_inst_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequenceset_max_val(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_min_inst_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequenceset_min_val(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequenceset_num_instants(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequenceset_num_timestamps(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_segments(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_sequences_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequenceset_start_timestamptz(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_time(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_timestamptz_n(IntPtr ss, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_timestamps(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_value_at_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_value_n(IntPtr ss, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_values_p(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_restart(IntPtr temp, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tsequence(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tsequenceset(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_shift_time(IntPtr inst, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_to_tsequence(IntPtr inst, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_to_tsequence_free(IntPtr inst, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_to_tsequenceset(IntPtr inst, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_shift_scale_value(IntPtr temp, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_shift_value(IntPtr inst, ulong shift); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_shift_scale_value(IntPtr seq, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_shift_scale_value(IntPtr ss, ulong start, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_restart(IntPtr seq, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_set_interp(IntPtr seq, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_shift_scale_time(IntPtr seq, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_subseq(IntPtr seq, int from, int to, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tinstant(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tsequenceset(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tsequenceset_free(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tsequenceset_interp(IntPtr seq, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_restart(IntPtr ss, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_set_interp(IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_shift_scale_time(IntPtr ss, IntPtr start, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_discrete(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_linear(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_step(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_tinstant(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_tsequence(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_merge(IntPtr inst1, IntPtr inst2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_merge_array(IntPtr instants, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_append_tinstant(IntPtr seq, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_append_tsequence(IntPtr seq1, IntPtr seq2, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_tstzset(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_tstzspan(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_tstzspanset(IntPtr seq, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_insert(IntPtr seq1, IntPtr seq2, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_merge(IntPtr seq1, IntPtr seq2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_merge_array(IntPtr sequences, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_append_tinstant(IntPtr ss, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_append_tsequence(IntPtr ss, IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_tstzset(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_tstzspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_tstzspanset(IntPtr ss, IntPtr ps); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_insert(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_merge(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_merge_array(IntPtr seqsets, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_expand_bbox(IntPtr seq, IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_set_bbox(IntPtr seq, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_expand_bbox(IntPtr ss, IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_set_bbox(IntPtr ss, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontseq_after_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontseq_before_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontseq_restrict_minmax(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdiscseq_after_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdiscseq_before_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdiscseq_restrict_minmax(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_bbox_restrict_set(IntPtr temp, IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_minmax(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_value(IntPtr temp, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_values(IntPtr temp, IntPtr set, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_after_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_before_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_tstzspan(IntPtr inst, IntPtr period, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_tstzspanset(IntPtr inst, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_tstzset(IntPtr inst, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_value(IntPtr inst, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_values(IntPtr inst, IntPtr set, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_restrict_span(IntPtr temp, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_restrict_spanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_restrict_span(IntPtr inst, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_restrict_spanset(IntPtr inst, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_restrict_span(IntPtr ss, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_restrict_spanset(IntPtr ss, IntPtr spanset, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_at_timestamptz(IntPtr seq, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_restrict_tstzspan(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_restrict_tstzspanset(IntPtr seq, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_after_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_before_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_minmax(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_tstzspan(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_tstzspanset(IntPtr ss, IntPtr ps, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_tstzset(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_value(IntPtr ss, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_values(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tinstant_cmp(IntPtr inst1, IntPtr inst2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tinstant_eq(IntPtr inst1, IntPtr inst2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequence_cmp(IntPtr seq1, IntPtr seq2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequence_eq(IntPtr seq1, IntPtr seq2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequenceset_cmp(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_eq(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_abs(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_abs(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_angular_difference(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_delta_value(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_abs(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_angular_difference(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_delta_value(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnumber_number(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnumber_number(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseq_integral(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseq_twavg(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseqset_integral(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseqset_twavg(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_compact(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_compact(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_compact(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_skiplist_make(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr skiplist_make(ulong key_size, ulong value_size, IntPtr comp_fn, IntPtr merge_fn); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int skiplist_search(IntPtr list, IntPtr key, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void skiplist_free(IntPtr list); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void skiplist_splice(IntPtr list, IntPtr keys, IntPtr values, int count, IntPtr func, [MarshalAs(UnmanagedType.U1)] bool crossings, IntPtr sktype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_skiplist_splice(IntPtr list, IntPtr values, int count, IntPtr func, [MarshalAs(UnmanagedType.U1)] bool crossings); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr skiplist_values(IntPtr list); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr skiplist_keys_values(IntPtr list, IntPtr values); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_app_tinst_transfn(IntPtr state, IntPtr inst, int interp, double maxdist, IntPtr maxt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_app_tseq_transfn(IntPtr state, IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_bins(IntPtr s, ulong size, ulong origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_bins(IntPtr ss, ulong size, ulong origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_bins(IntPtr temp, ulong size, ulong origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_time_boxes(IntPtr temp, ulong vsize, IntPtr duration, ulong vorigin, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_split(IntPtr temp, ulong vsize, ulong vorigin, IntPtr bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_get_value_time_tile(ulong value, long t, ulong vsize, IntPtr duration, ulong vorigin, long torigin, int basetype, int spantype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_time_split(IntPtr temp, ulong size, IntPtr duration, ulong vorigin, long torigin, IntPtr value_bins, IntPtr time_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr proj_get_context(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_geo_round(ulong value, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr point_round(IntPtr gs, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_set([MarshalAs(UnmanagedType.U1)] bool hasx, [MarshalAs(UnmanagedType.U1)] bool hasz, [MarshalAs(UnmanagedType.U1)] bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void gbox_set_stbox(IntPtr box, int srid, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geo_set_stbox(IntPtr gs, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void geoarr_set_stbox(IntPtr values, int count, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spatial_set_stbox(ulong d, int basetype, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void spatialset_set_stbox(IntPtr set, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_set_box3d(IntPtr box, IntPtr box3d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_set_gbox(IntPtr box, IntPtr gbox); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzset_set_stbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspan_set_stbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspanset_set_stbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_expand(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool inter_stbox_stbox(IntPtr box1, IntPtr box2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_geo(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatial_set_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tgeoinst_set_stbox(IntPtr inst, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialseq_set_stbox(IntPtr seq, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialseqset_set_stbox(IntPtr ss, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_restrict_elevation(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_restrict_geom(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_restrict_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoinst_restrict_geom(IntPtr inst, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoinst_restrict_stbox(IntPtr inst, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_restrict_geom(IntPtr seq, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_restrict_stbox(IntPtr seq, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_restrict_geom(IntPtr ss, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_restrict_stbox(IntPtr ss, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spatial_srid(ulong d, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spatial_set_srid(ulong d, int basetype, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tspatialinst_srid(IntPtr inst); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_merge(IntPtr ss1, IntPtr ss2); + public static partial IntPtr tpointseq_azimuth(IntPtr seq); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_merge_array(IntPtr seqsets, int count); + public static partial IntPtr tpointseq_cumulative_length(IntPtr seq, double prevlength); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequence_expand_bbox(IntPtr seq, IntPtr inst); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpointseq_is_simple(IntPtr seq); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequence_set_bbox(IntPtr seq, IntPtr box); + public static partial double tpointseq_length(IntPtr seq); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequenceset_expand_bbox(IntPtr ss, IntPtr seq); + public static partial IntPtr tpointseq_linear_trajectory(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool unary_union); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tsequenceset_set_bbox(IntPtr ss, IntPtr box); + public static partial IntPtr tgeoseq_stboxes(IntPtr seq, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontseq_after_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial IntPtr tgeoseq_split_n_stboxes(IntPtr seq, int max_count, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontseq_before_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial IntPtr tpointseqset_azimuth(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontseq_restrict_minmax(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tpointseqset_cumulative_length(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdiscseq_after_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpointseqset_is_simple(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdiscseq_before_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial double tpointseqset_length(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdiscseq_restrict_minmax(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tgeoseqset_stboxes(IntPtr ss, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool temporal_bbox_restrict_set(IntPtr temp, IntPtr set); + public static partial IntPtr tgeoseqset_split_n_stboxes(IntPtr ss, int max_count, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_minmax(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tpoint_get_coord(IntPtr temp, int coord); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tgeominst_tgeoginst(IntPtr inst, [MarshalAs(UnmanagedType.U1)] bool oper); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tgeomseq_tgeogseq(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool oper); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tgeomseqset_tgeogseqset(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool oper); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tgeom_tgeog(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool oper); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_value(IntPtr temp, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tgeo_tpoint(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool oper); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_restrict_values(IntPtr temp, IntPtr set, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial void tspatialinst_set_srid(IntPtr inst, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool temporal_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + public static partial IntPtr tpointseq_make_simple(IntPtr seq, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_after_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial void tspatialseq_set_srid(IntPtr seq, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_before_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial IntPtr tpointseqset_make_simple(IntPtr ss, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_restrict_tstzspan(IntPtr inst, IntPtr period, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial void tspatialseqset_set_srid(IntPtr ss, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_restrict_tstzspanset(IntPtr inst, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tpointseq_twcentroid(IntPtr seq); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_restrict_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr tpointseqset_twcentroid(IntPtr ss); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_restrict_tstzset(IntPtr inst, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial string npoint_as_ewkt(IntPtr np, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_restrict_value(IntPtr inst, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial string npoint_as_hexwkb(IntPtr np, IntPtr variant, IntPtr size_out); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tinstant_restrict_values(IntPtr inst, IntPtr set, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial string npoint_as_text(IntPtr np, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_restrict_span(IntPtr temp, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_as_wkb(IntPtr np, IntPtr variant, IntPtr size_out); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_restrict_spanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_from_hexwkb(string hexwkb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberinst_restrict_span(IntPtr inst, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_from_wkb(IntPtr wkb, ulong size); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberinst_restrict_spanset(IntPtr inst, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_restrict_span(IntPtr ss, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial string npoint_out(IntPtr np, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_restrict_spanset(IntPtr ss, IntPtr spanset, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr nsegment_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_at_timestamptz(IntPtr seq, long t); + public static partial string nsegment_out(IntPtr ns, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_restrict_tstzspan(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_make(long rid, double pos); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_restrict_tstzspanset(IntPtr seq, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr nsegment_make(long rid, double pos1, double pos2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_after_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial IntPtr geompoint_to_npoint(IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_before_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + public static partial IntPtr geom_to_nsegment(IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_minmax(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_to_geompoint(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_tstzspan(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_to_nsegment(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_tstzspanset(IntPtr ss, IntPtr ps, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr npoint_to_stbox(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr nsegment_to_geom(IntPtr ns); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_tstzset(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr nsegment_to_stbox(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_value(IntPtr ss, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial uint npoint_hash(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_restrict_values(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial ulong npoint_hash_extended(IntPtr np, ulong seed); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tinstant_cmp(IntPtr inst1, IntPtr inst2); + public static partial double npoint_position(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tinstant_eq(IntPtr inst1, IntPtr inst2); + public static partial long npoint_route(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tsequence_cmp(IntPtr seq1, IntPtr seq2); + public static partial double nsegment_end_position(IntPtr ns); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tsequence_eq(IntPtr seq1, IntPtr seq2); + public static partial long nsegment_route(IntPtr ns); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tsequenceset_cmp(IntPtr ss1, IntPtr ss2); + public static partial double nsegment_start_position(IntPtr ns); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tsequenceset_eq(IntPtr ss1, IntPtr ss2); + public static partial bool route_exists(long rid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_eq_base_temporal(ulong value, IntPtr temp); + public static partial IntPtr route_geom(long rid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_eq_temporal_base(IntPtr temp, ulong value); + public static partial double route_length(long rid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ne_base_temporal(ulong value, IntPtr temp); + public static partial IntPtr npoint_round(IntPtr np, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ne_temporal_base(IntPtr temp, ulong value); + public static partial IntPtr nsegment_round(IntPtr ns, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ge_base_temporal(ulong value, IntPtr temp); + public static partial int get_srid_ways(); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ge_temporal_base(IntPtr temp, ulong value); + public static partial int npoint_srid(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_gt_base_temporal(ulong value, IntPtr temp); + public static partial int nsegment_srid(IntPtr ns); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_gt_temporal_base(IntPtr temp, ulong value); + public static partial IntPtr npoint_timestamptz_to_stbox(IntPtr np, long t); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_le_base_temporal(ulong value, IntPtr temp); + public static partial IntPtr npoint_tstzspan_to_stbox(IntPtr np, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_le_temporal_base(IntPtr temp, ulong value); + public static partial int npoint_cmp(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_lt_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_eq(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_lt_temporal_base(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_ge(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_eq_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_gt(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_eq_temporal_base(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_le(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ne_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_lt(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ne_temporal_base(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_ne(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ge_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_same(IntPtr np1, IntPtr np2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ge_temporal_base(IntPtr temp, ulong value); + public static partial int nsegment_cmp(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_gt_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_eq(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_gt_temporal_base(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_ge(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_le_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_gt(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_le_temporal_base(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_le(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_lt_base_temporal(ulong value, IntPtr temp); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_lt(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_lt_temporal_base(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_ne(IntPtr ns1, IntPtr ns2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberinst_abs(IntPtr inst); + public static partial IntPtr npointset_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseq_abs(IntPtr seq); + public static partial string npointset_out(IntPtr s, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseq_angular_difference(IntPtr seq); + public static partial IntPtr npointset_make(IntPtr values, int count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseq_delta_value(IntPtr seq); + public static partial IntPtr npoint_to_set(IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_abs(IntPtr ss); + public static partial IntPtr npointset_end_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_angular_difference(IntPtr ss); + public static partial IntPtr npointset_routes(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumberseqset_delta_value(IntPtr ss); + public static partial IntPtr npointset_start_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdistance_tnumber_number(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npointset_value_n(IntPtr s, int n, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tbox_tbox(IntPtr box1, IntPtr box2); + public static partial IntPtr npointset_values(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnumber_number(IntPtr temp, ulong value); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_npoint_set(IntPtr np, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnumber_tbox(IntPtr temp, IntPtr box); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_npoint(IntPtr s, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + public static partial IntPtr intersection_npoint_set(IntPtr np, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumberseq_integral(IntPtr seq); + public static partial IntPtr intersection_set_npoint(IntPtr s, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumberseq_twavg(IntPtr seq); + public static partial IntPtr minus_npoint_set(IntPtr np, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumberseqset_integral(IntPtr ss); + public static partial IntPtr minus_set_npoint(IntPtr s, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumberseqset_twavg(IntPtr ss); + public static partial IntPtr npoint_union_transfn(IntPtr state, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_compact(IntPtr temp); + public static partial IntPtr union_npoint_set(IntPtr np, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_compact(IntPtr seq); + public static partial IntPtr union_set_npoint(IntPtr s, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_compact(IntPtr ss); + public static partial IntPtr tnpoint_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_skiplist_make(); + public static partial string tnpoint_out(IntPtr temp, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr skiplist_make(ulong key_size, ulong value_size, IntPtr comp_fn, IntPtr merge_fn); + public static partial IntPtr tnpointinst_make(IntPtr np, long t); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int skiplist_search(IntPtr list, IntPtr key, IntPtr value); + public static partial IntPtr tgeompoint_to_tnpoint(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void skiplist_free(IntPtr list); + public static partial IntPtr tnpoint_to_tgeompoint(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void skiplist_splice(IntPtr list, IntPtr keys, IntPtr values, int count, IntPtr func, [MarshalAs(UnmanagedType.U1)] bool crossings, IntPtr sktype); + public static partial IntPtr tnpoint_cumulative_length(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void temporal_skiplist_splice(IntPtr list, IntPtr values, int count, IntPtr func, [MarshalAs(UnmanagedType.U1)] bool crossings); + public static partial double tnpoint_length(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr skiplist_values(IntPtr list); + public static partial IntPtr tnpoint_positions(IntPtr temp, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr skiplist_keys_values(IntPtr list, IntPtr values); + public static partial long tnpoint_route(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_app_tinst_transfn(IntPtr state, IntPtr inst, int interp, double maxdist, IntPtr maxt); + public static partial IntPtr tnpoint_routes(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_app_tseq_transfn(IntPtr state, IntPtr seq); + public static partial IntPtr tnpoint_speed(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_bins(IntPtr s, ulong size, ulong origin, IntPtr count); + public static partial IntPtr tnpoint_trajectory(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_bins(IntPtr ss, ulong size, ulong origin, IntPtr count); + public static partial IntPtr tnpoint_twcentroid(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_value_bins(IntPtr temp, ulong size, ulong origin, IntPtr count); + public static partial IntPtr tnpoint_at_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_value_time_boxes(IntPtr temp, ulong vsize, IntPtr duration, ulong vorigin, long torigin, IntPtr count); + public static partial IntPtr tnpoint_at_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_value_split(IntPtr temp, ulong vsize, ulong vorigin, IntPtr bins, IntPtr count); + public static partial IntPtr tnpoint_at_npointset(IntPtr temp, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_get_value_time_tile(ulong value, long t, ulong vsize, IntPtr duration, ulong vorigin, long torigin, int basetype, int spantype); + public static partial IntPtr tnpoint_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_value_time_split(IntPtr temp, ulong size, IntPtr duration, ulong vorigin, long torigin, IntPtr value_bins, IntPtr time_bins, IntPtr count); + public static partial IntPtr tnpoint_minus_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr proj_get_context(); + public static partial IntPtr tnpoint_minus_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong datum_geo_round(ulong value, ulong size); + public static partial IntPtr tnpoint_minus_npointset(IntPtr temp, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr point_round(IntPtr gs, int maxdd); + public static partial IntPtr tnpoint_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void stbox_set([MarshalAs(UnmanagedType.U1)] bool hasx, [MarshalAs(UnmanagedType.U1)] bool hasz, [MarshalAs(UnmanagedType.U1)] bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s, IntPtr box); + public static partial IntPtr tdistance_tnpoint_point(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void gbox_set_stbox(IntPtr box, int srid, IntPtr result); + public static partial IntPtr tdistance_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool geo_set_stbox(IntPtr gs, IntPtr box); + public static partial double nad_tnpoint_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void geoarr_set_stbox(IntPtr values, int count, IntPtr box); + public static partial double nad_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool spatial_set_stbox(ulong d, int basetype, IntPtr box); + public static partial double nad_tnpoint_stbox(IntPtr temp, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void spatialset_set_stbox(IntPtr set, IntPtr box); + public static partial double nad_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void stbox_set_box3d(IntPtr box, IntPtr box3d); + public static partial IntPtr nai_tnpoint_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void stbox_set_gbox(IntPtr box, IntPtr gbox); + public static partial IntPtr nai_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tstzset_set_stbox(IntPtr s, IntPtr box); + public static partial IntPtr nai_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tstzspan_set_stbox(IntPtr s, IntPtr box); + public static partial IntPtr shortestline_tnpoint_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tstzspanset_set_stbox(IntPtr s, IntPtr box); + public static partial IntPtr shortestline_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void stbox_expand(IntPtr box1, IntPtr box2); + public static partial IntPtr shortestline_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool inter_stbox_stbox(IntPtr box1, IntPtr box2, IntPtr result); + public static partial IntPtr tnpoint_tcentroid_transfn(IntPtr state, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_geo(IntPtr box); + public static partial int always_eq_npoint_tnpoint(IntPtr np, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpointinst_from_mfjson(IntPtr mfjson, int srid); + public static partial int always_eq_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpointinst_in(string str); + public static partial int always_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpointseq_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial int always_ne_npoint_tnpoint(IntPtr np, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpointseq_in(string str, int interp); + public static partial int always_ne_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpointseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial int always_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpointseqset_in(string str); + public static partial int ever_eq_npoint_tnpoint(IntPtr np, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompointinst_from_mfjson(IntPtr mfjson, int srid); + public static partial int ever_eq_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompointinst_in(string str); + public static partial int ever_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompointseq_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial int ever_ne_npoint_tnpoint(IntPtr np, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompointseq_in(string str, int interp); + public static partial int ever_ne_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompointseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial int ever_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompointseqset_in(string str); + public static partial IntPtr teq_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeographyinst_from_mfjson(IntPtr mfjson, int srid); + public static partial IntPtr tne_tnpoint_npoint(IntPtr temp, IntPtr np); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeographyinst_in(string str); + public static partial string pose_as_ewkt(IntPtr pose, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeographyseq_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial string pose_as_hexwkb(IntPtr pose, IntPtr variant, IntPtr size); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeographyseq_in(string str, int interp); + public static partial string pose_as_text(IntPtr pose, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeographyseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial IntPtr pose_as_wkb(IntPtr pose, IntPtr variant, IntPtr size_out); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeographyseqset_in(string str); + public static partial IntPtr pose_from_wkb(IntPtr wkb, ulong size); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeometryinst_from_mfjson(IntPtr mfjson, int srid); + public static partial IntPtr pose_from_hexwkb(string hexwkb); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeometryinst_in(string str); + public static partial IntPtr pose_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeometryseq_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial string pose_out(IntPtr pose, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeometryseq_in(string str, int interp); + public static partial IntPtr pose_copy(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeometryseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + public static partial IntPtr pose_make_2d(double x, double y, double theta, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeometryseqset_in(string str); + public static partial IntPtr pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tspatial_set_stbox(IntPtr temp, IntPtr box); + public static partial IntPtr pose_make_point2d(IntPtr gs, double theta); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tgeoinst_set_stbox(IntPtr inst, IntPtr box); + public static partial IntPtr pose_make_point3d(IntPtr gs, double W, double X, double Y, double Z); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tspatialseq_set_stbox(IntPtr seq, IntPtr box); + public static partial IntPtr pose_to_point(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tspatialseqset_set_stbox(IntPtr ss, IntPtr box); + public static partial IntPtr pose_to_stbox(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeo_restrict_geom(IntPtr temp, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial uint pose_hash(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeo_restrict_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial ulong pose_hash_extended(IntPtr pose, ulong seed); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoinst_restrict_geom(IntPtr inst, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr pose_orientation(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoinst_restrict_stbox(IntPtr inst, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial double pose_rotation(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseq_restrict_geom(IntPtr seq, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr pose_round(IntPtr pose, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseq_restrict_stbox(IntPtr seq, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial IntPtr posearr_round(IntPtr posearr, int count, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseqset_restrict_geom(IntPtr ss, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial void pose_set_srid(IntPtr pose, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseqset_restrict_stbox(IntPtr ss, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + public static partial int pose_srid(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int spatial_srid(ulong d, int basetype); + public static partial IntPtr pose_transform(IntPtr pose, int srid); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool spatial_set_srid(ulong d, int basetype, int srid); + public static partial IntPtr pose_transform_pipeline(IntPtr pose, string pipelinestr, int srid, [MarshalAs(UnmanagedType.U1)] bool is_forward); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tspatialinst_srid(IntPtr inst); + public static partial IntPtr pose_tstzspan_to_stbox(IntPtr pose, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_azimuth(IntPtr seq); + public static partial IntPtr pose_timestamptz_to_stbox(IntPtr pose, long t); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_cumulative_length(IntPtr seq, double prevlength); + public static partial double distance_pose_geo(IntPtr pose, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tpointseq_is_simple(IntPtr seq); + public static partial double distance_pose_pose(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tpointseq_length(IntPtr seq); + public static partial double distance_pose_stbox(IntPtr pose, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_linear_trajectory(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool unary_union); + public static partial int pose_cmp(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseq_stboxes(IntPtr seq, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_eq(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseq_split_n_stboxes(IntPtr seq, int max_count, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_ge(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseqset_azimuth(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_gt(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseqset_cumulative_length(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_le(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] [return: MarshalAs(UnmanagedType.U1)] - public static partial bool tpointseqset_is_simple(IntPtr ss); + public static partial bool pose_lt(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tpointseqset_length(IntPtr ss); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_ne(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseqset_stboxes(IntPtr ss, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_nsame(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeoseqset_split_n_stboxes(IntPtr ss, int max_count, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool pose_same(IntPtr pose1, IntPtr pose2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_get_coord(IntPtr temp, int coord); + public static partial IntPtr poseset_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeominst_tgeoginst(IntPtr inst, [MarshalAs(UnmanagedType.U1)] bool oper); + public static partial string poseset_out(IntPtr s, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeomseq_tgeogseq(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool oper); + public static partial IntPtr poseset_make(IntPtr values, int count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeomseqset_tgeogseqset(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool oper); + public static partial IntPtr pose_to_set(IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeom_tgeog(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool oper); + public static partial IntPtr poseset_end_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeo_tpoint(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool oper); + public static partial IntPtr poseset_start_value(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tspatialinst_set_srid(IntPtr inst, int srid); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool poseset_value_n(IntPtr s, int n, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_make_simple(IntPtr seq, IntPtr count); + public static partial IntPtr poseset_values(IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tspatialseq_set_srid(IntPtr seq, int srid); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_pose_set(IntPtr pose, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseqset_make_simple(IntPtr ss, IntPtr count); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_pose(IntPtr s, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void tspatialseqset_set_srid(IntPtr ss, int srid); + public static partial IntPtr intersection_pose_set(IntPtr pose, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_twcentroid(IntPtr seq); + public static partial IntPtr intersection_set_pose(IntPtr s, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseqset_twcentroid(IntPtr ss); + public static partial IntPtr minus_pose_set(IntPtr pose, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string npoint_as_ewkt(IntPtr np, int maxdd); + public static partial IntPtr minus_set_pose(IntPtr s, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string npoint_as_hexwkb(IntPtr np, IntPtr variant, IntPtr size_out); + public static partial IntPtr pose_union_transfn(IntPtr state, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string npoint_as_text(IntPtr np, int maxdd); + public static partial IntPtr union_pose_set(IntPtr pose, IntPtr s); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_as_wkb(IntPtr np, IntPtr variant, IntPtr size_out); + public static partial IntPtr union_set_pose(IntPtr s, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_from_hexwkb(string hexwkb); + public static partial IntPtr tpose_in(string str); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_from_wkb(IntPtr wkb, ulong size); + public static partial IntPtr tpose_make(IntPtr tpoint, IntPtr tradius); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_in(string str); + public static partial IntPtr tpose_to_tpoint(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string npoint_out(IntPtr np, int maxdd); + public static partial IntPtr tpose_end_value(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nsegment_in(string str); + public static partial IntPtr tpose_points(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string nsegment_out(IntPtr ns, int maxdd); + public static partial IntPtr tpose_rotation(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_make(long rid, double pos); + public static partial IntPtr tpose_start_value(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nsegment_make(long rid, double pos1, double pos2); + public static partial IntPtr tpose_trajectory(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geompoint_to_npoint(IntPtr gs); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpose_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr value); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geom_to_nsegment(IntPtr gs); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpose_value_n(IntPtr temp, int n, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_to_geompoint(IntPtr np); + public static partial IntPtr tpose_values(IntPtr temp, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_to_nsegment(IntPtr np); + public static partial IntPtr tpose_at_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_to_stbox(IntPtr np); + public static partial IntPtr tpose_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nsegment_to_geom(IntPtr ns); + public static partial IntPtr tpose_at_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nsegment_to_stbox(IntPtr np); + public static partial IntPtr tpose_minus_geom(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint npoint_hash(IntPtr np); + public static partial IntPtr tpose_minus_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong npoint_hash_extended(IntPtr np, ulong seed); + public static partial IntPtr tpose_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double npoint_position(IntPtr np); + public static partial IntPtr tdistance_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long npoint_route(IntPtr np); + public static partial IntPtr tdistance_tpose_point(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nsegment_end_position(IntPtr ns); + public static partial IntPtr tdistance_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long nsegment_route(IntPtr ns); + public static partial double nad_tpose_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nsegment_start_position(IntPtr ns); + public static partial double nad_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool route_exists(long rid); + public static partial double nad_tpose_stbox(IntPtr temp, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr route_geom(long rid); + public static partial double nad_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double route_length(long rid); + public static partial IntPtr nai_tpose_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_round(IntPtr np, int maxdd); + public static partial IntPtr nai_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nsegment_round(IntPtr ns, int maxdd); + public static partial IntPtr nai_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int get_srid_ways(); + public static partial IntPtr shortestline_tpose_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int npoint_srid(IntPtr np); + public static partial IntPtr shortestline_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int nsegment_srid(IntPtr ns); + public static partial IntPtr shortestline_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_timestamptz_to_stbox(IntPtr np, long t); + public static partial int always_eq_pose_tpose(IntPtr pose, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_tstzspan_to_stbox(IntPtr np, IntPtr s); + public static partial int always_eq_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int npoint_cmp(IntPtr np1, IntPtr np2); + public static partial int always_eq_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_eq(IntPtr np1, IntPtr np2); + public static partial int always_ne_pose_tpose(IntPtr pose, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_ge(IntPtr np1, IntPtr np2); + public static partial int always_ne_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_gt(IntPtr np1, IntPtr np2); + public static partial int always_ne_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_le(IntPtr np1, IntPtr np2); + public static partial int ever_eq_pose_tpose(IntPtr pose, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_lt(IntPtr np1, IntPtr np2); + public static partial int ever_eq_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_ne(IntPtr np1, IntPtr np2); + public static partial int ever_eq_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npoint_same(IntPtr np1, IntPtr np2); + public static partial int ever_ne_pose_tpose(IntPtr pose, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int nsegment_cmp(IntPtr ns1, IntPtr ns2); + public static partial int ever_ne_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool nsegment_eq(IntPtr ns1, IntPtr ns2); + public static partial int ever_ne_tpose_tpose(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool nsegment_ge(IntPtr ns1, IntPtr ns2); + public static partial IntPtr teq_pose_tpose(IntPtr pose, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool nsegment_gt(IntPtr ns1, IntPtr ns2); + public static partial IntPtr teq_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool nsegment_le(IntPtr ns1, IntPtr ns2); + public static partial IntPtr tne_pose_tpose(IntPtr pose, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool nsegment_lt(IntPtr ns1, IntPtr ns2); + public static partial IntPtr tne_tpose_pose(IntPtr temp, IntPtr pose); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool nsegment_ne(IntPtr ns1, IntPtr ns2); + public static partial string trgeo_out(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npointset_in(string str); + public static partial IntPtr trgeoinst_make(IntPtr geom, IntPtr pose, long t); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string npointset_out(IntPtr s, int maxdd); + public static partial IntPtr geo_tpose_to_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npointset_make(IntPtr values, int count); + public static partial IntPtr trgeo_to_tpose(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_to_set(IntPtr np); + public static partial IntPtr trgeo_to_tpoint(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npointset_end_value(IntPtr s); + public static partial IntPtr trgeo_end_instant(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npointset_routes(IntPtr s); + public static partial IntPtr trgeo_end_sequence(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npointset_start_value(IntPtr s); + public static partial IntPtr trgeo_end_value(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool npointset_value_n(IntPtr s, int n, IntPtr result); + public static partial IntPtr trgeo_geom(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npointset_values(IntPtr s); + public static partial IntPtr trgeo_instant_n(IntPtr temp, int n); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contained_npoint_set(IntPtr np, IntPtr s); + public static partial IntPtr trgeo_instants(IntPtr temp, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.U1)] - public static partial bool contains_set_npoint(IntPtr s, IntPtr np); + public static partial IntPtr trgeo_points(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_npoint_set(IntPtr np, IntPtr s); + public static partial IntPtr trgeo_rotation(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_npoint(IntPtr s, IntPtr np); + public static partial IntPtr trgeo_segments(IntPtr temp, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_npoint_set(IntPtr np, IntPtr s); + public static partial IntPtr trgeo_sequence_n(IntPtr temp, int i); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_npoint(IntPtr s, IntPtr np); + public static partial IntPtr trgeo_sequences(IntPtr temp, IntPtr count); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr npoint_union_transfn(IntPtr state, IntPtr np); + public static partial IntPtr trgeo_start_instant(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_npoint_set(IntPtr np, IntPtr s); + public static partial IntPtr trgeo_start_sequence(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_npoint(IntPtr s, IntPtr np); + public static partial IntPtr trgeo_start_value(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_in(string str); + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool trgeo_value_n(IntPtr temp, int n, IntPtr result); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tnpoint_out(IntPtr temp, int maxdd); + public static partial IntPtr trgeo_traversed_area(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool unary_union); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpointinst_make(IntPtr np, long t); + public static partial IntPtr trgeo_append_tinstant(IntPtr temp, IntPtr inst, int interp, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompoint_to_tnpoint(IntPtr temp); + public static partial IntPtr trgeo_append_tsequence(IntPtr temp, IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool expand); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_to_tgeompoint(IntPtr temp); + public static partial IntPtr trgeo_delete_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool connect); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_cumulative_length(IntPtr temp); + public static partial IntPtr trgeo_delete_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnpoint_length(IntPtr temp); + public static partial IntPtr trgeo_delete_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_positions(IntPtr temp, IntPtr count); + public static partial IntPtr trgeo_delete_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool connect); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tnpoint_route(IntPtr temp); + public static partial IntPtr trgeo_round(IntPtr temp, int maxdd); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_routes(IntPtr temp); + public static partial IntPtr trgeo_set_interp(IntPtr temp, int interp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_speed(IntPtr temp); + public static partial IntPtr trgeo_to_tinstant(IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_trajectory(IntPtr temp); + public static partial IntPtr trgeo_after_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_twcentroid(IntPtr temp); + public static partial IntPtr trgeo_before_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_at_geom(IntPtr temp, IntPtr gs); + public static partial IntPtr trgeo_restrict_value(IntPtr temp, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_at_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr trgeo_restrict_values(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_at_npointset(IntPtr temp, IntPtr s); + public static partial IntPtr trgeo_restrict_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + public static partial IntPtr trgeo_restrict_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_minus_geom(IntPtr temp, IntPtr gs); + public static partial IntPtr trgeo_restrict_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_minus_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr trgeo_restrict_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_minus_npointset(IntPtr temp, IntPtr s); + public static partial IntPtr tdistance_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + public static partial IntPtr tdistance_trgeo_tpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdistance_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr tdistance_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdistance_tnpoint_point(IntPtr temp, IntPtr gs); + public static partial double nad_stbox_trgeo(IntPtr box, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdistance_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial double nad_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnpoint_geo(IntPtr temp, IntPtr gs); + public static partial double nad_trgeo_stbox(IntPtr temp, IntPtr box); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial double nad_trgeo_tpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnpoint_stbox(IntPtr temp, IntPtr box); + public static partial double nad_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial IntPtr nai_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nai_tnpoint_geo(IntPtr temp, IntPtr gs); + public static partial IntPtr nai_trgeo_tpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nai_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr nai_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nai_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial IntPtr shortestline_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr shortestline_tnpoint_geo(IntPtr temp, IntPtr gs); + public static partial IntPtr shortestline_trgeo_tpoint(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr shortestline_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr shortestline_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr shortestline_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial int always_eq_geo_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnpoint_tcentroid_transfn(IntPtr state, IntPtr temp); + public static partial int always_eq_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_eq_npoint_tnpoint(IntPtr np, IntPtr temp); + public static partial int always_eq_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_eq_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial int always_ne_geo_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial int always_ne_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ne_npoint_tnpoint(IntPtr np, IntPtr temp); + public static partial int always_ne_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ne_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial int ever_eq_geo_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int always_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial int ever_eq_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_eq_npoint_tnpoint(IntPtr np, IntPtr temp); + public static partial int ever_eq_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_eq_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial int ever_ne_geo_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial int ever_ne_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ne_npoint_tnpoint(IntPtr np, IntPtr temp); + public static partial int ever_ne_trgeo_trgeo(IntPtr temp1, IntPtr temp2); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ne_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr teq_geo_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int ever_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + public static partial IntPtr teq_trgeo_geo(IntPtr temp, IntPtr gs); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr tne_geo_trgeo(IntPtr gs, IntPtr temp); [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_tnpoint_npoint(IntPtr temp, IntPtr np); + public static partial IntPtr tne_trgeo_geo(IntPtr temp, IntPtr gs); } } diff --git a/README.md b/README.md index f7435b4..72c2e53 100644 --- a/README.md +++ b/README.md @@ -4,48 +4,41 @@ __Author__: Dudziak Thomas __My website__ : https://dudziak-thomas.be/ -This is a **proof of concept** for the final MEOS.NET project. -MEOS.NET is a library that aims to wrap the functions of [MEOS](https://duckduckgo.com), the core component of [MobilityDB](https://mobilitydb.com/). +MEOS.NET is a .NET binding for [MEOS](https://libmeos.org), the C library underlying [MobilityDB](https://github.com/MobilityDB/MobilityDB). It exposes the MEOS spatiotemporal types and functions to managed C# code, tracking MEOS 1.4. -## What's in this project? +## What's in this solution? -The application features : +- `MEOS.NET`: the binding library. Its `Internal/` layer holds the P/Invoke declarations for the MEOS C functions, generated from the [MEOS-API](https://github.com/MobilityDB/MEOS-API) catalog, and its `Types/` layer provides the hand-written, idiomatic C# wrappers over those declarations. +- `MEOS.NET.NpgSql`: integration with [Npgsql](https://www.npgsql.org/) for reading and writing MobilityDB values over a PostgreSQL connection. +- `MEOS.NET.Tests`: the unit test suite. +- `ExampleApp`: a sample application built on the binding. +- `MEOS.NET.Builder`: the original regex-based header parser. It is superseded by the IDL-driven generator under `tools/` and is kept only for historical reference. -- The MEOS.NET wrapper -- The unit tests of MEOS.NET -- An example application based on the wrapper -- An empty project that will host the code for database communication later +## Prerequisites + +The MEOS shared library must be installed and resolvable by the OS loader through `LD_LIBRARY_PATH` (Linux), `DYLD_LIBRARY_PATH` (macOS), or `PATH` (Windows). See the [MobilityDB](https://github.com/MobilityDB/MobilityDB) build instructions for producing the MEOS library. ## Build -To build this project, clone this repository and run the following command at the root of the solution. Please note that MobilityDB should be installed before trying to run this project. +From the root of the solution: ``` dotnet build ``` -If an error is encountered, please remove the following lines from the MEOS.NET.csproj file and retry. This could happen if there is no meos.h file under "~/Externals/MobilityDB/meos/include/meos.h". - -``` - - - - - -``` - ## Run the unit tests -To run the unit tests, run the following command in the MEOS.NET.Tests folder. - ``` dotnet test ``` ## Run the sample application -A sample application is provided under the ExampleApp/ folder. To run the application, please run the following command under the ExampleApp/ folder : - ``` +cd ExampleApp dotnet run ``` + +## Regenerating the bindings + +The P/Invoke declarations under `MEOS.NET/Internal/` are generated from MEOS-API's `meos-idl.json` catalog rather than written by hand. To regenerate them against a given MEOS version, follow the instructions in [`tools/README.md`](tools/README.md).