shapereader
Read ESRI shapefiles
shp-multipointm.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_MULTIPOINTM_H
17#define _SHAPEREADER_SHP_MULTIPOINTM_H
18
19#include "shp-pointm.h"
20#include <stddef.h>
21
28typedef struct shp_multipointm_t {
29 double x_min;
30 double x_max;
31 double y_min;
32 double y_max;
33 double m_min;
34 double m_max;
35 size_t num_points;
36 const char *points; /* X and Y coordinates */
37 const char *m_array; /* Measures */
39
62extern void shp_multipointm_pointm(const shp_multipointm_t *multipointm,
63 size_t point_num, shp_pointm_t *pointm);
64
65#endif
MultiPointM.
Definition: shp-multipointm.h:28
size_t num_points
Number of points.
Definition: shp-multipointm.h:35
double y_min
Y minimum value.
Definition: shp-multipointm.h:31
double x_min
X minimum value.
Definition: shp-multipointm.h:29
double y_max
Y maximum value.
Definition: shp-multipointm.h:32
double x_max
X maximum value.
Definition: shp-multipointm.h:30
double m_max
M maximum value.
Definition: shp-multipointm.h:34
double m_min
M minimum value.
Definition: shp-multipointm.h:33
void shp_multipointm_pointm(const shp_multipointm_t *multipointm, size_t point_num, shp_pointm_t *pointm)
Get a PointM.
Definition: shp-multipointm.c:17
PointM.
Definition: shp-pointm.h:25