shapereader
Read ESRI shapefiles
shp-multipoint.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_MULTIPOINT_H
17#define _SHAPEREADER_SHP_MULTIPOINT_H
18
19#include "shp-point.h"
20#include <stddef.h>
21
27typedef struct shp_multipoint_t {
28 double x_min;
29 double x_max;
30 double y_min;
31 double y_max;
32 size_t num_points;
33 const char *points; /* X and Y coordinates */
35
58extern void shp_multipoint_point(const shp_multipoint_t *multipoint,
59 size_t point_num, shp_point_t *point);
60
61#endif
MultiPoint.
Definition: shp-multipoint.h:27
double x_max
X maximum value.
Definition: shp-multipoint.h:29
size_t num_points
Number of points.
Definition: shp-multipoint.h:32
void shp_multipoint_point(const shp_multipoint_t *multipoint, size_t point_num, shp_point_t *point)
Get a Point.
Definition: shp-multipoint.c:17
double y_max
Y maximum value.
Definition: shp-multipoint.h:31
double x_min
X minimum value.
Definition: shp-multipoint.h:28
double y_min
Y minimum value.
Definition: shp-multipoint.h:30
Point.
Definition: shp-point.h:24