HydroCouple  2.0.0
HydroCouple Interface Definitions
Loading...
Searching...
No Matches
CoordinateBuffer2D Struct Reference

Non-owning SoA view over 2D coordinate data (x, y stored in separate arrays). More...

#include <hydrocouplespatialwkb.h>

Collaboration diagram for CoordinateBuffer2D:

Public Attributes

double * x
 Pointer to contiguous array of x-coordinates.
 
double * y
 Pointer to contiguous array of y-coordinates.
 
uint32_t count
 Number of coordinate tuples.
 

Detailed Description

Non-owning SoA view over 2D coordinate data (x, y stored in separate arrays).

Enables cache-efficient iteration over individual coordinate components for SIMD and data-oriented processing patterns. The caller is responsible for managing the lifetime and allocation of the underlying arrays.

Member Data Documentation

◆ count

uint32_t CoordinateBuffer2D::count

Number of coordinate tuples.

◆ x

double* CoordinateBuffer2D::x

Pointer to contiguous array of x-coordinates.

◆ y

double* CoordinateBuffer2D::y

Pointer to contiguous array of y-coordinates.


The documentation for this struct was generated from the following file: