shapereader
Read ESRI shapefiles
|
PolyLineM. More...
#include <shp-polylinem.h>
Public Member Functions | |
size_t | shp_polylinem_points (const shp_polylinem_t *polylinem, size_t part_num, size_t *start, size_t *end) |
Get the points that form a part. More... | |
void | shp_polylinem_pointm (const shp_polylinem_t *polylinem, size_t point_num, shp_pointm_t *pointm) |
Get a PointM. More... | |
A PolyLineM 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_polylinem_points | ( | const shp_polylinem_t * | polylinem, |
size_t | part_num, | ||
size_t * | start, | ||
size_t * | end | ||
) |
Gets the indices for the points specified by part_num
.
polylinem | a PolyLineM. | |
part_num | a zero-based part number. | |
[out] | start | the range start. |
[out] | end | the range end (exclusive). |
void shp_polylinem_pointm | ( | const shp_polylinem_t * | polylinem, |
size_t | point_num, | ||
shp_pointm_t * | pointm | ||
) |
Gets a PointM that belongs to a PolyLineM.
Example
polylinem | a PolyLineM. | |
point_num | a zero-based point number. | |
[out] | pointm | a shp_pointm_t structure. |