6 using System.Runtime.InteropServices;
8 using System.Collections.Generic;
22 [StructLayout(LayoutKind.Sequential, Pack = 1)]
43 [DllImport(
"SpatialUnderstanding", CallingConvention = CallingConvention.Cdecl)]
44 public static extern int QueryTopology_FindPositionsOnWalls(
45 [In]
float minHeightOfWallSpace,
46 [In]
float minWidthOfWallSpace,
47 [In]
float minHeightAboveFloor,
48 [In]
float minFacingClearance,
49 [In]
int locationCount,
50 [In, Out] IntPtr locationData);
62 [DllImport(
"SpatialUnderstanding", CallingConvention = CallingConvention.Cdecl)]
63 public static extern int QueryTopology_FindLargePositionsOnWalls(
64 [In]
float minHeightOfWallSpace,
65 [In]
float minWidthOfWallSpace,
66 [In]
float minHeightAboveFloor,
67 [In]
float minFacingClearance,
68 [In]
int locationCount,
69 [In, Out] IntPtr locationData);
76 [DllImport(
"SpatialUnderstanding", CallingConvention = CallingConvention.Cdecl)]
77 public static extern int QueryTopology_FindLargestWall(
78 [In, Out] IntPtr wall);
88 [DllImport(
"SpatialUnderstanding", CallingConvention = CallingConvention.Cdecl)]
89 public static extern int QueryTopology_FindPositionsOnFloor(
90 [In]
float minLengthOfFloorSpace,
91 [In]
float minWidthOfFloorSpace,
92 [In]
int locationCount,
93 [In, Out] IntPtr locationData);
101 [DllImport(
"SpatialUnderstanding", CallingConvention = CallingConvention.Cdecl)]
102 public static extern int QueryTopology_FindLargestPositionsOnFloor(
103 [In]
int locationCount,
104 [In, Out] IntPtr locationData);
115 [DllImport(
"SpatialUnderstanding", CallingConvention = CallingConvention.Cdecl)]
116 public static extern int QueryTopology_FindPositionsSittable(
117 [In]
float minHeight,
118 [In]
float maxHeight,
119 [In]
float minFacingClearance,
120 [In]
int locationCount,
121 [In, Out] IntPtr locationData);
133 [DllImport(
"SpatialUnderstanding")]
134 public static extern int QueryTopology_FindLargePositionsSittable(
135 [In]
float minHeight,
136 [In]
float maxHeight,
137 [In]
float minFacingClearance,
139 [In]
int locationCount,
140 [In, Out] IntPtr locationData);