18 #ifndef QGSGEOMETRYANALYZERH 19 #define QGSGEOMETRYANALYZERH 78 bool onlySelectedFeatures =
false,
bool dissolve =
false,
int bufferDistanceField = -1,
QProgressDialog* p =
nullptr );
88 bool convexHull(
QgsVectorLayer* layer,
const QString& shapefileName,
bool onlySelectedFeatures =
false,
99 bool dissolve(
QgsVectorLayer* layer,
const QString& shapefileName,
bool onlySelectedFeatures =
false,
120 const QString& outputFormat,
int locationField1,
int locationField2 = -1,
int offsetField = -1,
double offsetScale = 1.0,
140 double bufferDistance,
int bufferDistanceField );
148 bool forceSingleType =
false );
154 QgsPoint createPointOffset(
double x,
double y,
double dist,
QgsGeometry* lineGeom )
const;
157 static bool clipSegmentByRange(
double x1,
double y1,
double m1,
double x2,
double y2,
double m2,
double range1,
double range2,
QgsPoint& pt1,
QgsPoint& pt2,
bool& secondPointClipped );
158 static void locateAlongSegment(
double x1,
double y1,
double m1,
double x2,
double y2,
double m2,
double measure,
bool& pt1Ok,
QgsPoint& pt1,
bool& pt2Ok,
QgsPoint& pt2 );
160 #endif //QGSVECTORANALYZER
A geometry is the spatial representation of a feature.
A convenience class for writing vector files to disk.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
The QGis class provides vector geometry analysis functions.
A class to represent a point.
General purpose distance and area calculator.
This is the base class for vector data providers.
Represents a vector layer which manages a vector based data sets.