shapereader
Read ESRI shapefiles
|
PolyLineZ. More...
#include <shp-polylinez.h>
Public Member Functions | |
size_t | shp_polylinez_points (const shp_polylinez_t *polylinez, size_t part_num, size_t *start, size_t *end) |
Get the points that form a part. More... | |
void | shp_polylinez_pointz (const shp_polylinez_t *polylinez, size_t point_num, shp_pointz_t *pointz) |
Get a PointZ. More... | |
A PolyLineZ consists of one or more parts. A part is a connected sequence of of two or more points. Each point is associated with a measure, for example a temperature.
size_t shp_polylinez_points | ( | const shp_polylinez_t * | polylinez, |
size_t | part_num, | ||
size_t * | start, | ||
size_t * | end | ||
) |
Gets the indices for the points specified by part_num
.
polylinez | a PolyLineZ. | |
part_num | a zero-based part number. | |
[out] | start | the range start. |
[out] | end | the range end (exclusive). |
void shp_polylinez_pointz | ( | const shp_polylinez_t * | polylinez, |
size_t | point_num, | ||
shp_pointz_t * | pointz | ||
) |
Gets a PointZ that belongs to a PolyLineZ.
Example
polylinez | a PolyLineZ. | |
point_num | a zero-based point number. | |
[out] | pointz | a shp_pointz_t structure. |