#include <pointset.h>
|
| | PointSet () |
| |
| | PointSet (int nbPoints, double *x, double *y) |
| |
| virtual | ~PointSet () |
| |
| CHullBox * | compute_chull_bbox () |
| |
| PointSet * | createProblemSpecificPointSet (double bbmin[2], double bbmax[2], bool *inside) |
| |
| PointSet * | extractShape (int nbPtSh, int imin, int imax, int fps, int fpe, double fptx, double fpty) |
| |
| void | getBoundingBox (double min[2], double max[2]) const |
| |
| void | getCentroid (double &px, double &py, bool forceInside=false) |
| |
| double | getDist (double px, double py, double *rx, double *ry) |
| | return the minimum distance bw this and the point (px,py) More...
|
| |
| int | getGeosType () const |
| |
| PointSet * | getHoleOf () |
| | returns NULL if this isn't a hole. More...
|
| |
| int | getNumPoints () const |
| |
| void | getPoint (double *d, double *ad, double dl, double *px, double *py) |
| |
Definition at line 92 of file pointset.h.
| pal::PointSet::PointSet |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
protected |
| pal::PointSet::PointSet |
( |
PointSet & |
ps | ) |
|
|
protected |
| pal::PointSet::PointSet |
( |
| ) |
|
| pal::PointSet::PointSet |
( |
int |
nbPoints, |
|
|
double * |
x, |
|
|
double * |
y |
|
) |
| |
| pal::PointSet::~PointSet |
( |
| ) |
|
|
virtual |
| CHullBox * pal::PointSet::compute_chull_bbox |
( |
| ) |
|
| PointSet * pal::PointSet::createProblemSpecificPointSet |
( |
double |
bbmin[2], |
|
|
double |
bbmax[2], |
|
|
bool * |
inside |
|
) |
| |
| void pal::PointSet::deleteCoords |
( |
| ) |
|
|
protected |
| PointSet * pal::PointSet::extractShape |
( |
int |
nbPtSh, |
|
|
int |
imin, |
|
|
int |
imax, |
|
|
int |
fps, |
|
|
int |
fpe, |
|
|
double |
fptx, |
|
|
double |
fpty |
|
) |
| |
| void pal::PointSet::getBoundingBox |
( |
double |
min[2], |
|
|
double |
max[2] |
|
) |
| const |
|
inline |
| void pal::PointSet::getCentroid |
( |
double & |
px, |
|
|
double & |
py, |
|
|
bool |
forceInside = false |
|
) |
| |
| double pal::PointSet::getDist |
( |
double |
px, |
|
|
double |
py, |
|
|
double * |
rx, |
|
|
double * |
ry |
|
) |
| |
return the minimum distance bw this and the point (px,py)
compute the minimum distance bw the point (px,py) and this. Optionnaly, store the nearest point in (rx,ry)
- Parameters
-
| px | x coordinate of the point |
| py | y coordinate of the points |
| rx | pointer to x coorinates of the nearest point (can be NULL) |
| ry | pointer to y coorinates of the nearest point (can be NULL) |
Definition at line 910 of file pointset.cpp.
| int pal::PointSet::getGeosType |
( |
| ) |
const |
|
inline |
returns NULL if this isn't a hole.
Otherwise returns pointer to parent pointset.
Definition at line 175 of file pointset.h.
| int pal::PointSet::getNumPoints |
( |
| ) |
const |
|
inline |
| void pal::PointSet::getPoint |
( |
double * |
d, |
|
|
double * |
ad, |
|
|
double |
dl, |
|
|
double * |
px, |
|
|
double * |
py |
|
) |
| |
|
inline |
| int* pal::PointSet::cHull |
|
protected |
| int pal::PointSet::cHullSize |
|
protected |
| int pal::PointSet::nbPoints |
|
protected |
| double pal::PointSet::xmax |
|
protected |
| double pal::PointSet::xmin |
|
protected |
| double pal::PointSet::ymax |
|
protected |
| double pal::PointSet::ymin |
|
protected |
The documentation for this class was generated from the following files:
- /tmp/buildd/qgis-2.10.1+git20150822+dd4475c+20trusty/src/core/pal/pointset.h
- /tmp/buildd/qgis-2.10.1+git20150822+dd4475c+20trusty/src/core/pal/pointset.cpp