Go to the documentation of this file.
8 #ifndef FIELDS2COVER_TYPES_LINESTRING_H_
9 #define FIELDS2COVER_TYPES_LINESTRING_H_
11 #include <gdal/ogr_geometry.h>
27 explicit LineString(
const std::initializer_list<Point>&
ps);
31 double X(
size_t i)
const;
32 double Y(
size_t i)
const;
33 double Z(
size_t i)
const;
34 double getX(
size_t i)
const;
35 double getY(
size_t i)
const;
36 double getZ(
size_t i)
const;
47 void addPoint(
double x,
double y,
double z = 0);
63 #endif // FIELDS2COVER_TYPES_LINESTRING_H_
double getX(size_t i) const
Point closestPointTo(const Point &p) const
Types used by fields2cover library.
void getGeometry(size_t i, Point &point)
double startAngle() const
void setGeometry(size_t i, const Point &p)
double getZ(size_t i) const
void operator*=(double b)
void addGeometry(const Point &p)
const Point startPoint() const
void addPoint(double x, double y, double z=0)
double getY(size_t i) const
const Point endPoint() const
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31