|
| PointSet () |
|
| PointSet (int nbPoints, double *x, double *y) |
|
virtual | ~PointSet () |
|
double | area () const |
| Returns area of polygon geometry. More...
|
|
QgsRectangle | boundingBox () const |
| Returns the point set bounding box. More...
|
|
bool | boundingBoxIntersects (const PointSet *other) const |
| Returns true if the bounding box of this pointset intersects the bounding box of another pointset. More...
|
|
std::unique_ptr< PointSet > | clone () const |
| Returns a copy of the point set. More...
|
|
OrientedConvexHullBoundingBox | computeConvexHullOrientedBoundingBox (bool &ok) |
| Computes an oriented bounding box for the shape's convex hull. More...
|
|
bool | containsLabelCandidate (double x, double y, double width, double height, double alpha=0) const |
| Tests whether a possible label candidate will fit completely within the shape. More...
|
|
bool | containsPoint (double x, double y) const |
| Tests whether point set contains a specified point. More...
|
|
std::tuple< std::vector< double >, double > | edgeDistances () const |
| Returns a vector of edge distances as well as its total length. More...
|
|
void | extendLineByDistance (double startDistance, double endDistance, double smoothDistance) |
| Extends linestrings by the specified amount at the start and end of the line, by extending the existing lines following the same direction as the original line start or end. More...
|
|
std::unique_ptr< PointSet > | extractShape (int nbPtSh, int imin, int imax, int fps, int fpe, double fptx, double fpty) |
| Does... something completely inscrutable. More...
|
|
const GEOSGeometry * | geos () const |
| Returns the point set's GEOS geometry. More...
|
|
void | getCentroid (double &px, double &py, bool forceInside=false) const |
|
int | getGeosType () const |
|
PointSet * | getHoleOf () const |
| Returns nullptr if this isn't a hole. Otherwise returns pointer to parent pointset. More...
|
|
int | getNumPoints () const |
|
void | getPointByDistance (double *d, double *ad, double dl, double *px, double *py) const |
| Gets a point a set distance along a line geometry. More...
|
|
geos::unique_ptr | interpolatePoint (double distance) const |
| Returns a GEOS geometry representing the point interpolated on the shape by distance. More...
|
|
bool | isClosed () const |
| Returns true if pointset is closed. More...
|
|
double | length () const |
| Returns length of line geometry. More...
|
|
double | lineLocatePoint (const GEOSGeometry *point) const |
| Returns the distance along the geometry closest to the specified GEOS point. More...
|
|
double | minDistanceToPoint (double px, double py, double *rx=nullptr, double *ry=nullptr) const |
| Returns the squared minimum distance between the point set geometry and the point (px,py) Optionally, the nearest point is stored in (rx,ry). More...
|
|
void | offsetCurveByDistance (double distance) |
| Offsets linestrings by the specified distance. More...
|
|
QString | toWkt () const |
| Returns a WKT representation of the point set. More...
|
|