QGIS API Documentation  3.4.15-Madeira (e83d02e274)
QgsGeometryUtils Member List

This is the complete list of members for QgsGeometryUtils, including all inherited members.

angleBetweenThreePoints(double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsstatic
angleOnCircle(double angle, double angle1, double angle2, double angle3)QgsGeometryUtilsstatic
averageAngle(double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsstatic
averageAngle(double a1, double a2)QgsGeometryUtilsstatic
ccwAngle(double dy, double dx)QgsGeometryUtilsstatic
circleAngleBetween(double angle, double angle1, double angle2, bool clockwise)QgsGeometryUtilsstatic
circleCenterRadius(const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, double &radius, double &centerX, double &centerY)QgsGeometryUtilsstatic
circleCircleIntersections(QgsPointXY center1, double radius1, QgsPointXY center2, double radius2, QgsPointXY &intersection1, QgsPointXY &intersection2)QgsGeometryUtilsstatic
circleCircleOuterTangents(const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2, QgsPointXY &line1P1, QgsPointXY &line1P2, QgsPointXY &line2P1, QgsPointXY &line2P2)QgsGeometryUtilsstatic
circleClockwise(double angle1, double angle2, double angle3)QgsGeometryUtilsstatic
circleLength(double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsstatic
circleTangentDirection(const QgsPoint &tangentPoint, const QgsPoint &cp1, const QgsPoint &cp2, const QgsPoint &cp3)QgsGeometryUtilsstatic
closestPoint(const QgsAbstractGeometry &geometry, const QgsPoint &point)QgsGeometryUtilsstatic
closestSegmentFromComponents(T &container, ComponentType ctype, const QgsPoint &pt, QgsPoint &segmentPt, QgsVertexId &vertexAfter, int *leftOf, double epsilon)QgsGeometryUtilsinlinestatic
closestVertex(const QgsAbstractGeometry &geom, const QgsPoint &pt, QgsVertexId &id)QgsGeometryUtilsstatic
coefficients(const QgsPoint &pt1, const QgsPoint &pt2, double &a, double &b, double &c)QgsGeometryUtilsstatic
ComponentType enum nameQgsGeometryUtils
distanceToVertex(const QgsAbstractGeometry &geom, QgsVertexId id)QgsGeometryUtilsstatic
extractLineStrings(const QgsAbstractGeometry *geom)QgsGeometryUtilsstatic
gradient(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsstatic
interpolateArcValue(double angle, double a1, double a2, double a3, double zm1, double zm2, double zm3)QgsGeometryUtilsstatic
interpolatePointOnArc(const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, double distance)QgsGeometryUtilsstatic
interpolatePointOnLine(double x1, double y1, double x2, double y2, double fraction)QgsGeometryUtilsstatic
interpolatePointOnLine(const QgsPoint &p1, const QgsPoint &p2, double fraction)QgsGeometryUtilsstatic
interpolatePointOnLineByValue(double x1, double y1, double v1, double x2, double y2, double v2, double value)QgsGeometryUtilsstatic
leftOfLine(double x, double y, double x1, double y1, double x2, double y2)QgsGeometryUtilsstatic
lineAngle(double x1, double y1, double x2, double y2)QgsGeometryUtilsstatic
lineCircleIntersection(const QgsPointXY &center, double radius, const QgsPointXY &linePoint1, const QgsPointXY &linePoint2, QgsPointXY &intersection)QgsGeometryUtilsstatic
lineIntersection(const QgsPoint &p1, QgsVector v1, const QgsPoint &p2, QgsVector v2, QgsPoint &intersection)QgsGeometryUtilsstatic
linePerpendicularAngle(double x1, double y1, double x2, double y2)QgsGeometryUtilsstatic
linesIntersection3D(const QgsVector3D &La1, const QgsVector3D &La2, const QgsVector3D &Lb1, const QgsVector3D &Lb2, QgsVector3D &intersection)QgsGeometryUtilsstatic
midpoint(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsstatic
normalizedAngle(double angle)QgsGeometryUtilsstatic
Part enum valueQgsGeometryUtils
perpendicularSegment(const QgsPoint &p, const QgsPoint &s1, const QgsPoint &s2)QgsGeometryUtilsstatic
pointOnLineWithDistance(const QgsPoint &startPoint, const QgsPoint &directionPoint, double distance)QgsGeometryUtilsstatic
pointOnLineWithDistance(double x1, double y1, double x2, double y2, double distance, double &x, double &y, double *z1=nullptr, double *z2=nullptr, double *z=nullptr, double *m1=nullptr, double *m2=nullptr, double *m=nullptr)QgsGeometryUtilsstatic
pointsFromWKT(const QString &wktCoordinateList, bool is3D, bool isMeasure)QgsGeometryUtilsstatic
pointsToGML2(const QgsPointSequence &points, QDomDocument &doc, int precision, const QString &ns, QgsAbstractGeometry::AxisOrder axisOrder=QgsAbstractGeometry::AxisOrder::XY)QgsGeometryUtilsstatic
pointsToGML3(const QgsPointSequence &points, QDomDocument &doc, int precision, const QString &ns, bool is3D, QgsAbstractGeometry::AxisOrder axisOrder=QgsAbstractGeometry::AxisOrder::XY)QgsGeometryUtilsstatic
pointsToJSON(const QgsPointSequence &points, int precision)QgsGeometryUtilsstatic
pointsToWKB(QgsWkbPtr &wkb, const QgsPointSequence &points, bool is3D, bool isMeasure)QgsGeometryUtilsstatic
pointsToWKT(const QgsPointSequence &points, int precision, bool is3D, bool isMeasure)QgsGeometryUtilsstatic
projectPointOnSegment(const QgsPoint &p, const QgsPoint &s1, const QgsPoint &s2)QgsGeometryUtilsinlinestatic
Ring enum valueQgsGeometryUtils
segmentIntersection(const QgsPoint &p1, const QgsPoint &p2, const QgsPoint &q1, const QgsPoint &q2, QgsPoint &intersectionPoint, bool &isIntersection, double tolerance=1e-8, bool acceptImproperIntersection=false)QgsGeometryUtilsstatic
segmentizeArc(const QgsPoint &p1, const QgsPoint &p2, const QgsPoint &p3, QgsPointSequence &points, double tolerance=M_PI_2/90, QgsAbstractGeometry::SegmentationToleranceType toleranceType=QgsAbstractGeometry::MaximumAngle, bool hasZ=false, bool hasM=false)QgsGeometryUtilsstatic
segmentMidPoint(const QgsPoint &p1, const QgsPoint &p2, QgsPoint &result, double radius, const QgsPoint &mousePos)QgsGeometryUtilsstatic
segmentMidPointFromCenter(const QgsPoint &p1, const QgsPoint &p2, const QgsPoint &center, bool useShortestArc=true)QgsGeometryUtilsstatic
segmentSide(const QgsPoint &pt1, const QgsPoint &pt3, const QgsPoint &pt2)QgsGeometryUtilsstatic
selfIntersections(const QgsAbstractGeometry *geom, int part, int ring, double tolerance)QgsGeometryUtilsstatic
setZValueFromPoints(const QgsPointSequence &points, QgsPoint &point)QgsGeometryUtilsstatic
skewLinesDistance(const QgsVector3D &P1, const QgsVector3D &P12, const QgsVector3D &P2, const QgsVector3D &P22)QgsGeometryUtilsstatic
skewLinesProjection(const QgsVector3D &P1, const QgsVector3D &P12, const QgsVector3D &P2, const QgsVector3D &P22, QgsVector3D &X1, double epsilon=0.0001)QgsGeometryUtilsstatic
sqrDistance2D(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsstatic
sqrDistToLine(double ptX, double ptY, double x1, double y1, double x2, double y2, double &minDistX, double &minDistY, double epsilon)QgsGeometryUtilsstatic
sweepAngle(double centerX, double centerY, double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsstatic
tangentPointAndCircle(const QgsPointXY &center, double radius, const QgsPointXY &p, QgsPointXY &pt1, QgsPointXY &pt2)QgsGeometryUtilsstatic
Vertex enum valueQgsGeometryUtils
verticesAtDistance(const QgsAbstractGeometry &geometry, double distance, QgsVertexId &previousVertex, QgsVertexId &nextVertex)QgsGeometryUtilsstatic
wktGetChildBlocks(const QString &wkt, const QString &defaultType=QString())QgsGeometryUtilsstatic
wktReadBlock(const QString &wkt)QgsGeometryUtilsstatic