Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions MEOS.NET/Functions/Meos.Native.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6452,9 +6452,6 @@ private static partial class Native
[LibraryImport(DllPath, EntryPoint = "shortestline_tgeo_tgeo", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr ShortestlineTgeoTgeo(IntPtr temp1, IntPtr temp2);

[LibraryImport(DllPath, EntryPoint = "mindistance_tgeo_tgeo", StringMarshalling = StringMarshalling.Utf8)]
internal static partial double MindistanceTgeoTgeo(IntPtr temp1, IntPtr temp2, double threshold);

[LibraryImport(DllPath, EntryPoint = "mindistance_tgeoarr_tgeoarr", StringMarshalling = StringMarshalling.Utf8)]
internal static partial double MindistanceTgeoarrTgeoarr(IntPtr arr1, int count1, IntPtr arr2, int count2);

Expand Down Expand Up @@ -9224,6 +9221,14 @@ private static partial class Native
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoClipSubject(IntPtr gs);

[LibraryImport(DllPath, EntryPoint = "geo_is_planar_areal", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoIsPlanarAreal(IntPtr gs);

[LibraryImport(DllPath, EntryPoint = "geo_every_part_bounds_area", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoEveryPartBoundsArea(IntPtr gs);

[LibraryImport(DllPath, EntryPoint = "geo_is_point_set", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoIsPointSet(IntPtr gs);
Expand Down Expand Up @@ -9275,6 +9280,9 @@ private static partial class Native
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeomMeosSupported(IntPtr geom);

[LibraryImport(DllPath, EntryPoint = "stbox_nad", StringMarshalling = StringMarshalling.Utf8)]
internal static partial double StboxNad(IntPtr box1, IntPtr box2);

[LibraryImport(DllPath, EntryPoint = "spatial_srid", StringMarshalling = StringMarshalling.Utf8)]
internal static partial int SpatialSrid(long d, int basetype);

Expand Down Expand Up @@ -12075,19 +12083,19 @@ private static partial class Native
internal static partial bool RaquetGt(IntPtr rq1, IntPtr rq2);

[LibraryImport(DllPath, EntryPoint = "raster_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx);
internal static partial IntPtr RasterValue(IntPtr traj, IntPtr rast, int band);

[LibraryImport(DllPath, EntryPoint = "raster_at_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterAtValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial IntPtr RasterAtValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "raster_minus_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterMinusValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial IntPtr RasterMinusValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "eraster_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial int ErasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial int ErasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "araster_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial int ArasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial int ArasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "raster_value_gdal", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterValueGdal(IntPtr traj, string path, int band);
Expand Down
3 changes: 0 additions & 3 deletions MEOS.NET/Functions/Meos.meos_geo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1650,9 +1650,6 @@ public static IntPtr ShortestlineTgeoGeo(IntPtr temp, IntPtr gs)
public static IntPtr ShortestlineTgeoTgeo(IntPtr temp1, IntPtr temp2)
=> SafeExecution<IntPtr>(() => Native.ShortestlineTgeoTgeo(temp1, temp2));

public static double MindistanceTgeoTgeo(IntPtr temp1, IntPtr temp2, double threshold)
=> SafeExecution<double>(() => Native.MindistanceTgeoTgeo(temp1, temp2, threshold));

public static double MindistanceTgeoarrTgeoarr(IntPtr arr1, int count1, IntPtr arr2, int count2)
=> SafeExecution<double>(() => Native.MindistanceTgeoarrTgeoarr(arr1, count1, arr2, count2));

Expand Down
9 changes: 9 additions & 0 deletions MEOS.NET/Functions/Meos.meos_internal_geo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@ public static bool GeoIsPlanarLinear(IntPtr gs)
public static bool GeoClipSubject(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoClipSubject(gs));

public static bool GeoIsPlanarAreal(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoIsPlanarAreal(gs));

public static bool GeoEveryPartBoundsArea(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoEveryPartBoundsArea(gs));

public static bool GeoIsPointSet(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoIsPointSet(gs));

Expand Down Expand Up @@ -303,6 +309,9 @@ public static IntPtr TpointLinearRestrictGeom(IntPtr temp, IntPtr gs, bool atfun
public static bool GeomMeosSupported(IntPtr geom)
=> SafeExecution<bool>(() => Native.GeomMeosSupported(geom));

public static double StboxNad(IntPtr box1, IntPtr box2)
=> SafeExecution<double>(() => Native.StboxNad(box1, box2));

public static int SpatialSrid(long d, int basetype)
=> SafeExecution<int>(() => Native.SpatialSrid(d, basetype));

Expand Down
20 changes: 10 additions & 10 deletions MEOS.NET/Functions/Meos.meos_raster.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,20 @@ public static bool RaquetGe(IntPtr rq1, IntPtr rq2)
public static bool RaquetGt(IntPtr rq1, IntPtr rq2)
=> SafeExecution<bool>(() => Native.RaquetGt(rq1, rq2));

public static IntPtr RasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx)
=> SafeExecution<IntPtr>(() => Native.RasterValue(traj, box, sample, ctx));
public static IntPtr RasterValue(IntPtr traj, IntPtr rast, int band)
=> SafeExecution<IntPtr>(() => Native.RasterValue(traj, rast, band));

public static IntPtr RasterAtValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterAtValue(traj, box, sample, ctx, vspan));
public static IntPtr RasterAtValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterAtValue(traj, rast, band, vspan));

public static IntPtr RasterMinusValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterMinusValue(traj, box, sample, ctx, vspan));
public static IntPtr RasterMinusValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterMinusValue(traj, rast, band, vspan));

public static int ErasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<int>(() => Native.ErasterValue(traj, box, sample, ctx, vspan));
public static int ErasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<int>(() => Native.ErasterValue(traj, rast, band, vspan));

public static int ArasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<int>(() => Native.ArasterValue(traj, box, sample, ctx, vspan));
public static int ArasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<int>(() => Native.ArasterValue(traj, rast, band, vspan));

public static IntPtr RasterValueGdal(IntPtr traj, string path, int band)
=> SafeExecution<IntPtr>(() => Native.RasterValueGdal(traj, path, band));
Expand Down
Loading