QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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)QgsGeometryUtilsinlinestatic
angleBisector(double aX, double aY, double bX, double bY, double cX, double cY, double dX, double dY, double &pointX, double &pointY, double &angle)QgsGeometryUtilsinlinestatic
angleOnCircle(double angle, double angle1, double angle2, double angle3)QgsGeometryUtilsinlinestatic
averageAngle(double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsinlinestatic
averageAngle(double a1, double a2)QgsGeometryUtilsinlinestatic
bisector(double aX, double aY, double bX, double bY, double cX, double cY, double &pointX, double &pointY)QgsGeometryUtilsinlinestatic
ccwAngle(double dy, double dx)QgsGeometryUtilsinlinestatic
circleAngleBetween(double angle, double angle1, double angle2, bool clockwise)QgsGeometryUtilsinlinestatic
circleCenterRadius(const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, double &radius, double &centerX, double &centerY)QgsGeometryUtilsinlinestatic
circleCircleInnerTangents(const QgsPointXY &center1, double radius1, const QgsPointXY &center2, double radius2, QgsPointXY &line1P1, QgsPointXY &line1P2, QgsPointXY &line2P1, QgsPointXY &line2P2)QgsGeometryUtilsstatic
circleCircleIntersections(const QgsPointXY &center1, double radius1, const 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)QgsGeometryUtilsinlinestatic
circleLength(double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsinlinestatic
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
closestSideOfRectangle(double right, double bottom, double left, double top, double x, double y)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
distance2D(double x1, double y1, double x2, double y2)QgsGeometryUtilsinlinestatic
distance2D(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsinlinestatic
distance3D(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsinlinestatic
distanceToVertex(const QgsAbstractGeometry &geom, QgsVertexId id)QgsGeometryUtilsstatic
distToInfiniteLine(const QgsPoint &point, const QgsPoint &linePoint1, const QgsPoint &linePoint2, double epsilon=1e-7)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)QgsGeometryUtilsinlinestatic
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(const QgsPoint &point, const QgsPoint &p1, const QgsPoint &p2)QgsGeometryUtilsstatic
leftOfLine(const double x, const double y, const double x1, const double y1, const double x2, const double y2)QgsGeometryUtilsinlinestatic
lineAngle(double x1, double y1, double x2, double y2)QgsGeometryUtilsinlinestatic
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)QgsGeometryUtilsinlinestatic
linePerpendicularAngle(double x1, double y1, double x2, double y2)QgsGeometryUtilsinlinestatic
linesIntersection3D(const QgsVector3D &La1, const QgsVector3D &La2, const QgsVector3D &Lb1, const QgsVector3D &Lb2, QgsVector3D &intersection)QgsGeometryUtilsinlinestatic
midpoint(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsstatic
normalizedAngle(double angle)QgsGeometryUtilsinlinestatic
Part enum valueQgsGeometryUtils
perpendicularCenterSegment(double centerPointX, double centerPointY, double segmentPoint1x, double segmentPoint1y, double segmentPoint2x, double segmentPoint2y, double &perpendicularSegmentPoint1x, double &perpendicularSegmentPoint1y, double &perpendicularSegmentPoint2x, double &perpendicularSegmentPoint2y, double segmentLength=0)QgsGeometryUtilsinlinestatic
perpendicularOffsetPointAlongSegment(double x1, double y1, double x2, double y2, double proportion, double offset, double *x, double *y)QgsGeometryUtilsinlinestatic
perpendicularSegment(const QgsPoint &p, const QgsPoint &s1, const QgsPoint &s2)QgsGeometryUtilsstatic
pointContinuesArc(const QgsPoint &a1, const QgsPoint &a2, const QgsPoint &a3, const QgsPoint &b, double distanceTolerance, double pointSpacingAngleTolerance)QgsGeometryUtilsstatic
pointFractionAlongLine(double x1, double y1, double x2, double y2, double px, double py)QgsGeometryUtilsinlinestatic
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)QgsGeometryUtilsinlinestatic
pointsAreCollinear(double x1, double y1, double x2, double y2, double x3, double y3, double epsilon)QgsGeometryUtilsinlinestatic
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, QgsAbstractGeometry::WkbFlags flags)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)QgsGeometryUtilsinlinestatic
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)QgsGeometryUtilsinlinestatic
skewLinesDistance(const QgsVector3D &P1, const QgsVector3D &P12, const QgsVector3D &P2, const QgsVector3D &P22)QgsGeometryUtilsinlinestatic
skewLinesProjection(const QgsVector3D &P1, const QgsVector3D &P12, const QgsVector3D &P2, const QgsVector3D &P22, QgsVector3D &X1, double epsilon=0.0001)QgsGeometryUtilsinlinestatic
sqrDistance2D(double x1, double y1, double x2, double y2)QgsGeometryUtilsinlinestatic
sqrDistance2D(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsinlinestatic
sqrDistance3D(const QgsPoint &pt1, const QgsPoint &pt2)QgsGeometryUtilsinlinestatic
sqrDistToLine(double ptX, double ptY, double x1, double y1, double x2, double y2, double &minDistX, double &minDistY, double epsilon)QgsGeometryUtilsinlinestatic
sweepAngle(double centerX, double centerY, double x1, double y1, double x2, double y2, double x3, double y3)QgsGeometryUtilsinlinestatic
tangentPointAndCircle(const QgsPointXY &center, double radius, const QgsPointXY &p, QgsPointXY &pt1, QgsPointXY &pt2)QgsGeometryUtilsstatic
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)QgsGeometryUtilsinlinestatic
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)QgsGeometryUtilsinlinestatic
wktGetChildBlocks(const QString &wkt, const QString &defaultType=QString())QgsGeometryUtilsstatic
wktReadBlock(const QString &wkt)QgsGeometryUtilsstatic