shapereader
Read ESRI shapefiles
shp-multipointz.h
Go to the documentation of this file.
1/*
2 * Read ESRI shapefiles
3 *
4 * Copyright (C) 2023 Andreas Vögele
5 *
6 * This library is free software; you can redistribute it and/or modify it
7 * under either the terms of the ISC License or the same terms as Perl.
8 */
9
10/* SPDX-License-Identifier: ISC OR Artistic-1.0-Perl OR GPL-1.0-or-later */
11
16#ifndef _SHAPEREADER_SHP_MULTIPOINTZ_H
17#define _SHAPEREADER_SHP_MULTIPOINTZ_H
18
19#include "shp-pointz.h"
20#include <stddef.h>
21
28typedef struct shp_multipointz_t {
29 double x_min;
30 double x_max;
31 double y_min;
32 double y_max;
33 double z_min;
34 double z_max;
35 double m_min;
36 double m_max;
37 size_t num_points;
38 const char *points; /* X and Y coordinates */
39 const char *z_array; /* Z coordinates */
40 const char *m_array; /* Measures */
42
65extern void shp_multipointz_pointz(const shp_multipointz_t *multipointz,
66 size_t point_num, shp_pointz_t *pointz);
67
68#endif
MultiPointZ.
Definition: shp-multipointz.h:28
double y_max
Y maximum value.
Definition: shp-multipointz.h:32
double z_min
Z minimum value.
Definition: shp-multipointz.h:33
double m_max
M maximum value.
Definition: shp-multipointz.h:36
double z_max
Z maximum value.
Definition: shp-multipointz.h:34
double x_min
X minimum value.
Definition: shp-multipointz.h:29
void shp_multipointz_pointz(const shp_multipointz_t *multipointz, size_t point_num, shp_pointz_t *pointz)
Get a PointZ.
Definition: shp-multipointz.c:17
double x_max
X maximum value.
Definition: shp-multipointz.h:30
double y_min
Y minimum value.
Definition: shp-multipointz.h:31
size_t num_points
Number of points.
Definition: shp-multipointz.h:37
double m_min
M minimum value.
Definition: shp-multipointz.h:35
PointZ.
Definition: shp-pointz.h:25