Class mln_tile_id

java.lang.Object
org.maplibre.nativeffi.internal.c.mln_tile_id

public class mln_tile_id extends Object
struct mln_tile_id {
    uint32_t overscaled_z;
    int32_t wrap;
    uint32_t canonical_z;
    uint32_t canonical_x;
    uint32_t canonical_y;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • overscaled_z$layout

      public static final ValueLayout.OfInt overscaled_z$layout()
      Layout for field:
      uint32_t overscaled_z
      
    • overscaled_z$offset

      public static final long overscaled_z$offset()
      Offset for field:
      uint32_t overscaled_z
      
    • overscaled_z

      public static int overscaled_z(MemorySegment struct)
      Getter for field:
      uint32_t overscaled_z
      
    • overscaled_z

      public static void overscaled_z(MemorySegment struct, int fieldValue)
      Setter for field:
      uint32_t overscaled_z
      
    • wrap$layout

      public static final ValueLayout.OfInt wrap$layout()
      Layout for field:
      int32_t wrap
      
    • wrap$offset

      public static final long wrap$offset()
      Offset for field:
      int32_t wrap
      
    • wrap

      public static int wrap(MemorySegment struct)
      Getter for field:
      int32_t wrap
      
    • wrap

      public static void wrap(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t wrap
      
    • canonical_z$layout

      public static final ValueLayout.OfInt canonical_z$layout()
      Layout for field:
      uint32_t canonical_z
      
    • canonical_z$offset

      public static final long canonical_z$offset()
      Offset for field:
      uint32_t canonical_z
      
    • canonical_z

      public static int canonical_z(MemorySegment struct)
      Getter for field:
      uint32_t canonical_z
      
    • canonical_z

      public static void canonical_z(MemorySegment struct, int fieldValue)
      Setter for field:
      uint32_t canonical_z
      
    • canonical_x$layout

      public static final ValueLayout.OfInt canonical_x$layout()
      Layout for field:
      uint32_t canonical_x
      
    • canonical_x$offset

      public static final long canonical_x$offset()
      Offset for field:
      uint32_t canonical_x
      
    • canonical_x

      public static int canonical_x(MemorySegment struct)
      Getter for field:
      uint32_t canonical_x
      
    • canonical_x

      public static void canonical_x(MemorySegment struct, int fieldValue)
      Setter for field:
      uint32_t canonical_x
      
    • canonical_y$layout

      public static final ValueLayout.OfInt canonical_y$layout()
      Layout for field:
      uint32_t canonical_y
      
    • canonical_y$offset

      public static final long canonical_y$offset()
      Offset for field:
      uint32_t canonical_y
      
    • canonical_y

      public static int canonical_y(MemorySegment struct)
      Getter for field:
      uint32_t canonical_y
      
    • canonical_y

      public static void canonical_y(MemorySegment struct, int fieldValue)
      Setter for field:
      uint32_t canonical_y
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()