QGIS API Documentation  3.23.0-Master (eb871beae0)
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) SIP_HOLDGILQgsGeometryUtilsstatic
angleBisector(double aX, double aY, double bX, double bY, double cX, double cY, double dX, double dY, double &pointX, double &pointY, double &angle) SIP_HOLDGILQgsGeometryUtilsstatic
angleOnCircle(double angle, double angle1, double angle2, double angle3) SIP_HOLDGILQgsGeometryUtilsstatic
averageAngle(double x1, double y1, double x2, double y2, double x3, double y3) SIP_HOLDGILQgsGeometryUtilsstatic
averageAngle(double a1, double a2) SIP_HOLDGILQgsGeometryUtilsstatic
bisector(double aX, double aY, double bX, double bY, double cX, double cY, double &pointX, double &pointY) SIP_HOLDGILQgsGeometryUtilsstatic
ccwAngle(double dy, double dx) SIP_HOLDGILQgsGeometryUtilsstatic
circleAngleBetween(double angle, double angle1, double angle2, bool clockwise) SIP_HOLDGILQgsGeometryUtilsstatic
circleCenterRadius(const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, double &radius, double &centerX, double &centerY) SIP_HOLDGILQgsGeometryUtilsstatic
circleCircleInnerTangents(const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2, QgsPointXY &line1P1, QgsPointXY &line1P2, QgsPointXY &line2P1, QgsPointXY &line2P2) SIP_HOLDGILQgsGeometryUtilsstatic
circleCircleIntersections(const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2, QgsPointXY &intersection1, QgsPointXY &intersection2) SIP_HOLDGILQgsGeometryUtilsstatic
circleCircleOuterTangents(const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2, QgsPointXY &line1P1, QgsPointXY &line1P2, QgsPointXY &line2P1, QgsPointXY &line2P2) SIP_HOLDGILQgsGeometryUtilsstatic
circleClockwise(double angle1, double angle2, double angle3) SIP_HOLDGILQgsGeometryUtilsstatic
circleLength(double x1, double y1, double x2, double y2, double x3, double y3) SIP_HOLDGILQgsGeometryUtilsstatic
circleTangentDirection(const QgsPoint &tangentPoint, const QgsPoint &cp1, const QgsPoint &cp2, const QgsPoint &cp3) SIP_HOLDGILQgsGeometryUtilsstatic
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
closestSideOfRectangle(double right, double bottom, double left, double top, double x, double y)QgsGeometryUtilsstatic
closestVertex(const QgsAbstractGeometry &geom, const QgsPoint &pt, QgsVertexId &id)QgsGeometryUtilsstatic
coefficients(const QgsPoint &pt1, const QgsPoint &pt2, double &a, double &b, double &c) SIP_HOLDGILQgsGeometryUtilsstatic
ComponentType enum nameQgsGeometryUtils
distanceToVertex(const QgsAbstractGeometry &geom, QgsVertexId id)QgsGeometryUtilsstatic
extractLineStrings(const QgsAbstractGeometry *geom)QgsGeometryUtilsstatic
gradient(const QgsPoint &pt1, const QgsPoint &pt2) SIP_HOLDGILQgsGeometryUtilsstatic
interpolateArcValue(double angle, double a1, double a2, double a3, double zm1, double zm2, double zm3) SIP_HOLDGILQgsGeometryUtilsstatic
interpolatePointOnArc(const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, double distance) SIP_HOLDGILQgsGeometryUtilsstatic
interpolatePointOnLine(double x1, double y1, double x2, double y2, double fraction) SIP_HOLDGILQgsGeometryUtilsstatic
interpolatePointOnLine(const QgsPoint &p1, const QgsPoint &p2, double fraction) SIP_HOLDGILQgsGeometryUtilsstatic
interpolatePointOnLineByValue(double x1, double y1, double v1, double x2, double y2, double v2, double value) SIP_HOLDGILQgsGeometryUtilsstatic
leftOfLine(const double x, const double y, const double x1, const double y1, const double x2, const double y2) SIP_HOLDGILQgsGeometryUtilsstatic
leftOfLine(const QgsPoint &point, const QgsPoint &p1, const QgsPoint &p2) SIP_HOLDGILQgsGeometryUtilsstatic
lineAngle(double x1, double y1, double x2, double y2) SIP_HOLDGILQgsGeometryUtilsstatic
lineCircleIntersection(const QgsPointXY &center, double radius, const QgsPointXY &linePoint1, const QgsPointXY &linePoint2, QgsPointXY &intersection) SIP_HOLDGILQgsGeometryUtilsstatic
lineIntersection(const QgsPoint &p1, QgsVector v1, const QgsPoint &p2, QgsVector v2, QgsPoint &intersection) SIP_HOLDGILQgsGeometryUtilsstatic
linePerpendicularAngle(double x1, double y1, double x2, double y2) SIP_HOLDGILQgsGeometryUtilsstatic
linesIntersection3D(const QgsVector3D &La1, const QgsVector3D &La2, const QgsVector3D &Lb1, const QgsVector3D &Lb2, QgsVector3D &intersection) SIP_HOLDGILQgsGeometryUtilsstatic
midpoint(const QgsPoint &pt1, const QgsPoint &pt2) SIP_HOLDGILQgsGeometryUtilsstatic
normalizedAngle(double angle) SIP_HOLDGILQgsGeometryUtilsstatic
Part enum valueQgsGeometryUtils
perpendicularOffsetPointAlongSegment(double x1, double y1, double x2, double y2, double proportion, double offset, double *x, double *y)QgsGeometryUtilsstatic
perpendicularSegment(const QgsPoint &p, const QgsPoint &s1, const QgsPoint &s2) SIP_HOLDGILQgsGeometryUtilsstatic
pointContinuesArc(const QgsPoint &a1, const QgsPoint &a2, const QgsPoint &a3, const QgsPoint &b, double distanceTolerance, double pointSpacingAngleTolerance) SIP_HOLDGILQgsGeometryUtilsstatic
pointOnLineWithDistance(const QgsPoint &startPoint, const QgsPoint &directionPoint, double distance) SIP_HOLDGILQgsGeometryUtilsstatic
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
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) SIP_HOLDGILQgsGeometryUtilsinlinestatic
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) SIP_HOLDGILQgsGeometryUtilsstatic
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) SIP_HOLDGILQgsGeometryUtilsstatic
segmentMidPointFromCenter(const QgsPoint &p1, const QgsPoint &p2, const QgsPoint &center, bool useShortestArc=true) SIP_HOLDGILQgsGeometryUtilsstatic
segmentSide(const QgsPoint &pt1, const QgsPoint &pt3, const QgsPoint &pt2) SIP_HOLDGILQgsGeometryUtilsstatic
selfIntersections(const QgsAbstractGeometry *geom, int part, int ring, double tolerance)QgsGeometryUtilsstatic
setZValueFromPoints(const QgsPointSequence &points, QgsPoint &point)QgsGeometryUtilsinlinestatic
skewLinesDistance(const QgsVector3D &P1, const QgsVector3D &P12, const QgsVector3D &P2, const QgsVector3D &P22) SIP_HOLDGILQgsGeometryUtilsstatic
skewLinesProjection(const QgsVector3D &P1, const QgsVector3D &P12, const QgsVector3D &P2, const QgsVector3D &P22, QgsVector3D &X1, double epsilon=0.0001) SIP_HOLDGILQgsGeometryUtilsstatic
sqrDistance2D(const QgsPoint &pt1, const QgsPoint &pt2) SIP_HOLDGILQgsGeometryUtilsstatic
sqrDistToLine(double ptX, double ptY, double x1, double y1, double x2, double y2, double &minDistX, double &minDistY, double epsilon) SIP_HOLDGILQgsGeometryUtilsstatic
sweepAngle(double centerX, double centerY, double x1, double y1, double x2, double y2, double x3, double y3) SIP_HOLDGILQgsGeometryUtilsstatic
tangentPointAndCircle(const QgsPointXY &center, double radius, const QgsPointXY &p, QgsPointXY &pt1, QgsPointXY &pt2) SIP_HOLDGILQgsGeometryUtilsstatic
transferFirstMValueToPoint(const QgsPointSequence &points, QgsPoint &point)QgsGeometryUtilsstatic
transferFirstZOrMValueToPoint(Iterator verticesBegin, Iterator verticesEnd, QgsPoint &point)QgsGeometryUtilsinlinestatic
transferFirstZOrMValueToPoint(const QgsPointSequence &points, QgsPoint &point)QgsGeometryUtilsinlinestatic
transferFirstZOrMValueToPoint(const QgsGeometry &geom, QgsPoint &point)QgsGeometryUtilsinlinestatic
transferFirstZValueToPoint(const QgsPointSequence &points, QgsPoint &point)QgsGeometryUtilsstatic
triangleArea(double aX, double aY, double bX, double bY, double cX, double cY) SIP_HOLDGILQgsGeometryUtilsstatic
Vertex enum valueQgsGeometryUtils
verticesAtDistance(const QgsAbstractGeometry &geometry, double distance, QgsVertexId &previousVertex, QgsVertexId &nextVertex)QgsGeometryUtilsstatic
weightedPointInTriangle(double aX, double aY, double bX, double bY, double cX, double cY, double weightB, double weightC, double &pointX, double &pointY) SIP_HOLDGILQgsGeometryUtilsstatic
wktGetChildBlocks(const QString &wkt, const QString &defaultType=QString())QgsGeometryUtilsstatic
wktReadBlock(const QString &wkt)QgsGeometryUtilsstatic