QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
QgsGeometry Member List

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

addPart(const QVector< QgsPointXY > &points, Qgis::GeometryType geomType=Qgis::GeometryType::Unknown)QgsGeometry
addPart(const QgsPointSequence &points, Qgis::GeometryType geomType=Qgis::GeometryType::Unknown)QgsGeometry
addPart(QgsAbstractGeometry *part, Qgis::GeometryType geomType=Qgis::GeometryType::Unknown)QgsGeometry
addPart(const QgsGeometry &newPart)QgsGeometry
addPartV2(const QVector< QgsPointXY > &points, Qgis::WkbType wkbType=Qgis::WkbType::Unknown)QgsGeometry
addPartV2(const QgsPointSequence &points, Qgis::WkbType wkbType=Qgis::WkbType::Unknown)QgsGeometry
addPartV2(QgsAbstractGeometry *part, Qgis::WkbType wkbType=Qgis::WkbType::Unknown)QgsGeometry
addRing(const QVector< QgsPointXY > &ring)QgsGeometry
addRing(QgsCurve *ring)QgsGeometry
addTopologicalPoint(const QgsPoint &point, double snappingTolerance=1e-8, double segmentSearchEpsilon=1e-12)QgsGeometry
adjacentVertices(int atVertex, int &beforeVertex, int &afterVertex) constQgsGeometry
angleAtVertex(int vertex) constQgsGeometry
applyDashPattern(const QVector< double > &pattern, Qgis::DashPatternLineEndingRule startRule=Qgis::DashPatternLineEndingRule::NoRule, Qgis::DashPatternLineEndingRule endRule=Qgis::DashPatternLineEndingRule::NoRule, Qgis::DashPatternSizeAdjustment adjustment=Qgis::DashPatternSizeAdjustment::ScaleBothDashAndGap, double patternOffset=0) constQgsGeometry
area() constQgsGeometry
asGeometryCollection() constQgsGeometry
asJson(int precision=17) constQgsGeometry
asJsonObject(int precision=17) constQgsGeometryvirtual
asMultiPoint() constQgsGeometry
asMultiPolygon() constQgsGeometry
asMultiPolyline() constQgsGeometry
asPoint() constQgsGeometry
asPolygon() constQgsGeometry
asPolyline() constQgsGeometry
asQPointF() constQgsGeometry
asQPolygonF() constQgsGeometry
asWkb(QgsAbstractGeometry::WkbFlags flags=QgsAbstractGeometry::WkbFlags()) constQgsGeometry
asWkt(int precision=17) constQgsGeometry
avoidIntersections(const QList< QgsVectorLayer * > &avoidIntersectionsLayers, const QHash< QgsVectorLayer *, QSet< QgsFeatureId > > &ignoreFeatures=(QHash< QgsVectorLayer *, QSet< QgsFeatureId > >()))QgsGeometry
avoidIntersectionsV2(const QList< QgsVectorLayer * > &avoidIntersectionsLayers, const QHash< QgsVectorLayer *, QSet< QgsFeatureId > > &ignoreFeatures=(QHash< QgsVectorLayer *, QSet< QgsFeatureId > >()))QgsGeometry
boundingBox() constQgsGeometry
boundingBox3D() constQgsGeometry
boundingBoxIntersects(const QgsRectangle &rectangle) constQgsGeometry
boundingBoxIntersects(const QgsGeometry &geometry) constQgsGeometry
buffer(double distance, int segments) constQgsGeometry
buffer(double distance, int segments, Qgis::EndCapStyle endCapStyle, Qgis::JoinStyle joinStyle, double miterLimit) constQgsGeometry
centroid() constQgsGeometry
clipped(const QgsRectangle &rectangle)QgsGeometry
closestSegmentWithContext(const QgsPointXY &point, QgsPointXY &minDistPoint, int &nextVertexIndex, int *leftOrRightOfSegment=nullptr, double epsilon=DEFAULT_SEGMENT_EPSILON) constQgsGeometry
closestVertex(const QgsPointXY &point, int &closestVertexIndex, int &previousVertexIndex, int &nextVertexIndex, double &sqrDist) constQgsGeometry
closestVertexWithContext(const QgsPointXY &point, int &atVertex) constQgsGeometry
coerceToType(Qgis::WkbType type, double defaultZ=0, double defaultM=0) constQgsGeometry
collectGeometry(const QVector< QgsGeometry > &geometries)QgsGeometrystatic
combine(const QgsGeometry &geometry, const QgsGeometryParameters &parameters=QgsGeometryParameters()) constQgsGeometry
compare(const QgsPolylineXY &p1, const QgsPolylineXY &p2, double epsilon=4 *std::numeric_limits< double >::epsilon())QgsGeometrystatic
compare(const QgsPolygonXY &p1, const QgsPolygonXY &p2, double epsilon=4 *std::numeric_limits< double >::epsilon())QgsGeometrystatic
compare(const QgsMultiPolygonXY &p1, const QgsMultiPolygonXY &p2, double epsilon=4 *std::numeric_limits< double >::epsilon())QgsGeometrystatic
concaveHull(double targetPercent, bool allowHoles=false) constQgsGeometry
const_parts_begin() constQgsGeometry
const_parts_end() constQgsGeometry
constGet() constQgsGeometry
constParts() constQgsGeometry
constrainedDelaunayTriangulation() constQgsGeometry
contains(const QgsPointXY *p) constQgsGeometry
contains(double x, double y) constQgsGeometry
contains(const QgsGeometry &geometry) constQgsGeometry
convertGeometryCollectionToSubclass(Qgis::GeometryType geomType)QgsGeometry
convertPointList(const QVector< QgsPointXY > &input, QgsPointSequence &output)QgsGeometrystatic
convertPointList(const QgsPointSequence &input, QVector< QgsPointXY > &output)QgsGeometrystatic
convertToCurvedMultiType()QgsGeometry
convertToCurves(double distanceTolerance=1e-8, double angleTolerance=1e-8) constQgsGeometry
convertToMultiType()QgsGeometry
convertToSingleType()QgsGeometry
convertToStraightSegment(double tolerance=M_PI/180., QgsAbstractGeometry::SegmentationToleranceType toleranceType=QgsAbstractGeometry::MaximumAngle)QgsGeometry
convertToType(Qgis::GeometryType destType, bool destMultipart=false) constQgsGeometry
convexHull() constQgsGeometry
createGeometryEngine(const QgsAbstractGeometry *geometry, double precision=0.0, Qgis::GeosCreationFlags flags=Qgis::GeosCreationFlag::SkipEmptyInteriorRings)QgsGeometrystatic
createPolygonFromQPolygonF(const QPolygonF &polygon)QgsGeometrystatic
createPolylineFromQPolygonF(const QPolygonF &polygon)QgsGeometrystatic
createWedgeBuffer(const QgsPoint &center, double azimuth, double angularWidth, double outerRadius, double innerRadius=0)QgsGeometrystatic
createWedgeBufferFromAngles(const QgsPoint &center, double startAngle, double endAngle, double outerRadius, double innerRadius=0)QgsGeometrystatic
crosses(const QgsGeometry &geometry) constQgsGeometry
delaunayTriangulation(double tolerance=0.0, bool edgesOnly=false) constQgsGeometry
deletePart(int partNum)QgsGeometry
deleteRing(int ringNum, int partNum=0)QgsGeometry
deleteVertex(int atVertex)QgsGeometry
densifyByCount(int extraNodesPerSegment) constQgsGeometry
densifyByDistance(double distance) constQgsGeometry
difference(const QgsGeometry &geometry, const QgsGeometryParameters &parameters=QgsGeometryParameters()) constQgsGeometry
disjoint(const QgsGeometry &geometry) constQgsGeometry
distance(const QgsGeometry &geom) constQgsGeometry
distanceToVertex(int vertex) constQgsGeometry
draw(QPainter &p) constQgsGeometry
equals(const QgsGeometry &geometry) constQgsGeometry
extendLine(double startDistance, double endDistance) constQgsGeometry
extrude(double x, double y)QgsGeometry
filterVertices(const std::function< bool(const QgsPoint &) > &filter)QgsGeometry
forcePolygonClockwise() constQgsGeometry
forcePolygonCounterClockwise() constQgsGeometry
forceRHR() constQgsGeometry
frechetDistance(const QgsGeometry &geom) constQgsGeometry
frechetDistanceDensify(const QgsGeometry &geom, double densifyFraction) constQgsGeometry
fromBox3D(const QgsBox3D &box)QgsGeometrystatic
fromMultiPointXY(const QgsMultiPointXY &multipoint)QgsGeometrystatic
fromMultiPolygonXY(const QgsMultiPolygonXY &multipoly)QgsGeometrystatic
fromMultiPolylineXY(const QgsMultiPolylineXY &multiline)QgsGeometrystatic
fromPoint(const QgsPoint &point)QgsGeometrystatic
fromPointXY(const QgsPointXY &point)QgsGeometrystatic
fromPolygonXY(const QgsPolygonXY &polygon)QgsGeometrystatic
fromPolyline(const QgsPolyline &polyline)QgsGeometrystatic
fromPolylineXY(const QgsPolylineXY &polyline)QgsGeometrystatic
fromQPointF(QPointF point)QgsGeometrystatic
fromQPolygonF(const QPolygonF &polygon)QgsGeometrystatic
fromRect(const QgsRectangle &rect)QgsGeometrystatic
fromWkb(unsigned char *wkb, int length)QgsGeometry
fromWkb(const QByteArray &wkb)QgsGeometry
fromWkt(const QString &wkt)QgsGeometrystatic
get()QgsGeometry
hausdorffDistance(const QgsGeometry &geom) constQgsGeometry
hausdorffDistanceDensify(const QgsGeometry &geom, double densifyFraction) constQgsGeometry
insertVertex(double x, double y, int beforeVertex)QgsGeometry
insertVertex(const QgsPoint &point, int beforeVertex)QgsGeometry
interpolate(double distance) constQgsGeometry
interpolateAngle(double distance) constQgsGeometry
intersection(const QgsGeometry &geometry, const QgsGeometryParameters &parameters=QgsGeometryParameters()) constQgsGeometry
intersects(const QgsRectangle &rectangle) constQgsGeometry
intersects(const QgsGeometry &geometry) constQgsGeometry
isAxisParallelRectangle(double maximumDeviation, bool simpleRectanglesOnly=false) constQgsGeometry
isEmpty() constQgsGeometry
isGeosEqual(const QgsGeometry &) constQgsGeometry
isGeosValid(Qgis::GeometryValidityFlags flags=Qgis::GeometryValidityFlags()) constQgsGeometry
isMultipart() constQgsGeometry
isNullQgsGeometry
isNull() constQgsGeometry
isPolygonClockwise() constQgsGeometryinline
isPolygonCounterClockwise() constQgsGeometryinline
isSimple() constQgsGeometry
largestEmptyCircle(double tolerance, const QgsGeometry &boundary=QgsGeometry()) constQgsGeometry
lastError() constQgsGeometry
length() constQgsGeometry
lineLocatePoint(const QgsGeometry &point) constQgsGeometry
makeDifference(const QgsGeometry &other) constQgsGeometry
makeDifferenceInPlace(const QgsGeometry &other)QgsGeometry
makeValid(Qgis::MakeValidMethod method=Qgis::MakeValidMethod::Linework, bool keepCollapsed=false) constQgsGeometry
mapToPixel(const QgsMapToPixel &mtp)QgsGeometry
mergeLines() constQgsGeometry
minimalEnclosingCircle(QgsPointXY &center, double &radius, unsigned int segments=36) constQgsGeometry
minimalEnclosingCircle(unsigned int segments=36) constQgsGeometry
minimumClearance() constQgsGeometry
minimumClearanceLine() constQgsGeometry
minimumWidth() constQgsGeometry
moveVertex(double x, double y, int atVertex)QgsGeometry
moveVertex(const QgsPoint &p, int atVertex)QgsGeometry
nearestPoint(const QgsGeometry &other) constQgsGeometry
node() constQgsGeometry
normalize()QgsGeometry
offsetCurve(double distance, int segments, Qgis::JoinStyle joinStyle, double miterLimit) constQgsGeometry
operator QVariant() constQgsGeometryinline
operator=(QgsGeometry const &rhs)QgsGeometry
orientedMinimumBoundingBox(double &area, double &angle, double &width, double &height) constQgsGeometry
orientedMinimumBoundingBox() constQgsGeometry
orthogonalize(double tolerance=1.0E-8, int maxIterations=1000, double angleThreshold=15.0) constQgsGeometry
overlaps(const QgsGeometry &geometry) constQgsGeometry
parts()QgsGeometry
parts_begin()QgsGeometry
parts_end()QgsGeometry
pointOnSurface() constQgsGeometry
poleOfInaccessibility(double precision, double *distanceToBoundary=nullptr) constQgsGeometry
polygonize(const QVector< QgsGeometry > &geometries)QgsGeometrystatic
polygonOrientation() constQgsGeometry
QgsGeometry()QgsGeometry
QgsGeometry(const QgsGeometry &)QgsGeometry
QgsGeometry(QgsAbstractGeometry *geom)QgsGeometryexplicit
QgsGeometry(std::unique_ptr< QgsAbstractGeometry > geom)QgsGeometryexplicit
QgsInternalGeometryEngineQgsGeometryfriend
randomPointsInPolygon(int count, const std::function< bool(const QgsPointXY &) > &acceptPoint, unsigned long seed=0, QgsFeedback *feedback=nullptr, int maxTriesPerPoint=0) constQgsGeometry
randomPointsInPolygon(int count, unsigned long seed=0, QgsFeedback *feedback=nullptr) constQgsGeometry
removeDuplicateNodes(double epsilon=4 *std::numeric_limits< double >::epsilon(), bool useZValues=false)QgsGeometry
removeInteriorRings(double minimumAllowedArea=-1) constQgsGeometry
requiresConversionToStraightSegments() constQgsGeometry
reshapeGeometry(const QgsLineString &reshapeLineString)QgsGeometry
rotate(double rotation, const QgsPointXY &center)QgsGeometry
roundWaves(double wavelength, double amplitude, bool strictWavelength=false) constQgsGeometry
roundWavesRandomized(double minimumWavelength, double maximumWavelength, double minimumAmplitude, double maximumAmplitude, unsigned long seed=0) constQgsGeometry
set(QgsAbstractGeometry *geometry)QgsGeometry
sharedPaths(const QgsGeometry &other) constQgsGeometry
shortestLine(const QgsGeometry &other) constQgsGeometry
simplify(double tolerance) constQgsGeometry
simplifyCoverageVW(double tolerance, bool preserveBoundary) constQgsGeometry
singleSidedBuffer(double distance, int segments, Qgis::BufferSide side, Qgis::JoinStyle joinStyle=Qgis::JoinStyle::Round, double miterLimit=2.0) constQgsGeometry
smooth(unsigned int iterations=1, double offset=0.25, double minimumDistance=-1.0, double maxAngle=180.0) constQgsGeometry
snappedToGrid(double hSpacing, double vSpacing, double dSpacing=0, double mSpacing=0) constQgsGeometry
splitGeometry(const QVector< QgsPointXY > &splitLine, QVector< QgsGeometry > &newGeometries, bool topological, QVector< QgsPointXY > &topologyTestPoints, bool splitFeature=true)QgsGeometry
splitGeometry(const QgsPointSequence &splitLine, QVector< QgsGeometry > &newGeometries, bool topological, QgsPointSequence &topologyTestPoints, bool splitFeature=true, bool skipIntersectionTest=false)QgsGeometry
splitGeometry(const QgsCurve *curve, QVector< QgsGeometry > &newGeometries, bool preserveCircular, bool topological, QgsPointSequence &topologyTestPoints, bool splitFeature=true)QgsGeometry
sqrDistToVertexAt(QgsPointXY &point, int atVertex) constQgsGeometry
squareWaves(double wavelength, double amplitude, bool strictWavelength=false) constQgsGeometry
squareWavesRandomized(double minimumWavelength, double maximumWavelength, double minimumAmplitude, double maximumAmplitude, unsigned long seed=0) constQgsGeometry
subdivide(int maxNodes=256, const QgsGeometryParameters &parameters=QgsGeometryParameters()) constQgsGeometry
symDifference(const QgsGeometry &geometry, const QgsGeometryParameters &parameters=QgsGeometryParameters()) constQgsGeometry
taperedBuffer(double startWidth, double endWidth, int segments) constQgsGeometry
toggleCircularAtVertex(int atVertex)QgsGeometry
touches(const QgsGeometry &geometry) constQgsGeometry
transform(const QgsCoordinateTransform &ct, Qgis::TransformDirection direction=Qgis::TransformDirection::Forward, bool transformZ=false)QgsGeometry
transform(const QTransform &t, double zTranslate=0.0, double zScale=1.0, double mTranslate=0.0, double mScale=1.0)QgsGeometry
transformVertices(const std::function< QgsPoint(const QgsPoint &) > &transform)QgsGeometry
translate(double dx, double dy, double dz=0.0, double dm=0.0)QgsGeometry
triangularWaves(double wavelength, double amplitude, bool strictWavelength=false) constQgsGeometry
triangularWavesRandomized(double minimumWavelength, double maximumWavelength, double minimumAmplitude, double maximumAmplitude, unsigned long seed=0) constQgsGeometry
typeQgsGeometry
type() constQgsGeometry
unaryUnion(const QVector< QgsGeometry > &geometries, const QgsGeometryParameters &parameters=QgsGeometryParameters())QgsGeometrystatic
unionCoverage() constQgsGeometry
validateCoverage(double gapWidth, QgsGeometry *invalidEdges=nullptr) constQgsGeometry
validateGeometry(QVector< QgsGeometry::Error > &errors, Qgis::GeometryValidationEngine method=Qgis::GeometryValidationEngine::QgisInternal, Qgis::GeometryValidityFlags flags=Qgis::GeometryValidityFlags()) constQgsGeometry
variableWidthBufferByM(int segments) constQgsGeometry
vertexAt(int atVertex) constQgsGeometry
vertexIdFromVertexNr(int number, QgsVertexId &id) constQgsGeometry
vertexNrFromVertexId(QgsVertexId id) constQgsGeometry
vertices() constQgsGeometry
vertices_begin() constQgsGeometry
vertices_end() constQgsGeometry
voronoiDiagram(const QgsGeometry &extent=QgsGeometry(), double tolerance=0.0, bool edgesOnly=false) constQgsGeometry
within(const QgsGeometry &geometry) constQgsGeometry
wkbSize(QgsAbstractGeometry::WkbFlags flags=QgsAbstractGeometry::WkbFlags()) constQgsGeometry
wkbType() constQgsGeometry
~QgsGeometry()QgsGeometryvirtual