QGIS API Documentation  3.20.0-Odense (decaadbb31)
QgsGeometry Member List

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

addPart(const QVector< QgsPointXY > &points, QgsWkbTypes::GeometryType geomType=QgsWkbTypes::UnknownGeometry)QgsGeometry
addPart(const QgsPointSequence &points, QgsWkbTypes::GeometryType geomType=QgsWkbTypes::UnknownGeometry)QgsGeometry
addPart(QgsAbstractGeometry *part, QgsWkbTypes::GeometryType geomType=QgsWkbTypes::UnknownGeometry)QgsGeometry
addPart(const QgsGeometry &newPart)QgsGeometry
AddPartNotMultiGeometry enum valueQgsGeometry
AddPartSelectedGeometryNotFound enum valueQgsGeometry
addRing(const QVector< QgsPointXY > &ring)QgsGeometry
addRing(QgsCurve *ring)QgsGeometry
AddRingCrossesExistingRings enum valueQgsGeometry
AddRingNotClosed enum valueQgsGeometry
AddRingNotInExistingFeature enum valueQgsGeometry
AddRingNotValid enum valueQgsGeometry
adjacentVertices(int atVertex, int &beforeVertex, int &afterVertex) constQgsGeometry
angleAtVertex(int vertex) 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() const SIP_HOLDGILQgsGeometry
asQPolygonF() const SIP_HOLDGILQgsGeometry
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
boundingBox() constQgsGeometry
boundingBoxIntersects(const QgsRectangle &rectangle) constQgsGeometry
boundingBoxIntersects(const QgsGeometry &geometry) constQgsGeometry
buffer(double distance, int segments) constQgsGeometry
buffer(double distance, int segments, EndCapStyle endCapStyle, JoinStyle joinStyle, double miterLimit) constQgsGeometry
BufferSide enum nameQgsGeometry
CapFlat enum valueQgsGeometry
CapRound enum valueQgsGeometry
CapSquare enum valueQgsGeometry
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(QgsWkbTypes::Type type) constQgsGeometry
collectGeometry(const QVector< QgsGeometry > &geometries)QgsGeometrystatic
combine(const QgsGeometry &geometry) 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
const_parts_begin() constQgsGeometry
const_parts_end() constQgsGeometry
constGet() const SIP_HOLDGILQgsGeometry
constParts() constQgsGeometry
contains(const QgsPointXY *p) constQgsGeometry
contains(const QgsGeometry &geometry) constQgsGeometry
convertGeometryCollectionToSubclass(QgsWkbTypes::GeometryType geomType)QgsGeometry
convertPointList(const QVector< QgsPointXY > &input, QgsPointSequence &output)QgsGeometrystatic
convertPointList(const QgsPointSequence &input, QVector< QgsPointXY > &output)QgsGeometrystatic
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(QgsWkbTypes::GeometryType destType, bool destMultipart=false) constQgsGeometry
convexHull() constQgsGeometry
createGeometryEngine(const QgsAbstractGeometry *geometry)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
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) constQgsGeometry
disjoint(const QgsGeometry &geometry) constQgsGeometry
distance(const QgsGeometry &geom) constQgsGeometry
distanceToVertex(int vertex) constQgsGeometry
draw(QPainter &p) constQgsGeometry
EndCapStyle enum nameQgsGeometry
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
FlagAllowSelfTouchingHoles enum valueQgsGeometry
forceRHR() constQgsGeometry
frechetDistance(const QgsGeometry &geom) const SIP_THROW(QgsNotSupportedException)QgsGeometry
frechetDistanceDensify(const QgsGeometry &geom, double densifyFraction) const SIP_THROW(QgsNotSupportedException)QgsGeometry
fromMultiPointXY(const QgsMultiPointXY &multipoint)QgsGeometrystatic
fromMultiPolygonXY(const QgsMultiPolygonXY &multipoly)QgsGeometrystatic
fromMultiPolylineXY(const QgsMultiPolylineXY &multiline)QgsGeometrystatic
fromPointXY(const QgsPointXY &point) SIP_HOLDGILQgsGeometrystatic
fromPolygonXY(const QgsPolygonXY &polygon)QgsGeometrystatic
fromPolyline(const QgsPolyline &polyline)QgsGeometrystatic
fromPolylineXY(const QgsPolylineXY &polyline)QgsGeometrystatic
fromQPointF(QPointF point) SIP_HOLDGILQgsGeometrystatic
fromQPolygonF(const QPolygonF &polygon)QgsGeometrystatic
fromRect(const QgsRectangle &rect) SIP_HOLDGILQgsGeometrystatic
fromWkb(unsigned char *wkb, int length)QgsGeometry
fromWkb(const QByteArray &wkb)QgsGeometry
fromWkt(const QString &wkt)QgsGeometrystatic
GeometryEngineError enum valueQgsGeometry
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) constQgsGeometry
intersects(const QgsRectangle &rectangle) constQgsGeometry
intersects(const QgsGeometry &geometry) constQgsGeometry
InvalidBaseGeometry enum valueQgsGeometry
InvalidInputGeometryType enum valueQgsGeometry
isAxisParallelRectangle(double maximumDeviation, bool simpleRectanglesOnly=false) constQgsGeometry
isEmpty() constQgsGeometry
isGeosEqual(const QgsGeometry &) constQgsGeometry
isGeosValid(QgsGeometry::ValidityFlags flags=QgsGeometry::ValidityFlags()) constQgsGeometry
isMultipart() const SIP_HOLDGILQgsGeometry
isNullQgsGeometry
isNull() const SIP_HOLDGILQgsGeometry
isSimple() constQgsGeometry
JoinStyle enum nameQgsGeometry
JoinStyleBevel enum valueQgsGeometry
JoinStyleMiter enum valueQgsGeometry
JoinStyleRound enum valueQgsGeometry
largestEmptyCircle(double tolerance, const QgsGeometry &boundary=QgsGeometry()) const SIP_THROW(QgsNotSupportedException)QgsGeometry
lastError() const SIP_HOLDGILQgsGeometry
LayerNotEditable enum valueQgsGeometry
length() constQgsGeometry
lineLocatePoint(const QgsGeometry &point) constQgsGeometry
makeDifference(const QgsGeometry &other) constQgsGeometry
makeDifferenceInPlace(const QgsGeometry &other)QgsGeometry
makeValid() 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() const SIP_THROW(QgsNotSupportedException)QgsGeometry
minimumClearanceLine() const SIP_THROW(QgsNotSupportedException)QgsGeometry
minimumWidth() const SIP_THROW(QgsNotSupportedException)QgsGeometry
moveVertex(double x, double y, int atVertex)QgsGeometry
moveVertex(const QgsPoint &p, int atVertex)QgsGeometry
nearestPoint(const QgsGeometry &other) constQgsGeometry
node() constQgsGeometry
normalize()QgsGeometry
NothingHappened enum valueQgsGeometry
offsetCurve(double distance, int segments, JoinStyle joinStyle, double miterLimit) constQgsGeometry
OperationResult enum nameQgsGeometry
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
QgsGeometry() SIP_HOLDGILQgsGeometry
QgsGeometry(const QgsGeometry &)QgsGeometry
QgsGeometry(QgsAbstractGeometry *geom)QgsGeometryexplicit
QgsGeometry(std::unique_ptr< QgsAbstractGeometry > geom)QgsGeometryexplicit
QgsInternalGeometryEngine classQgsGeometryfriend
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
SelectionIsEmpty enum valueQgsGeometry
SelectionIsGreaterThanOne enum valueQgsGeometry
set(QgsAbstractGeometry *geometry)QgsGeometry
sharedPaths(const QgsGeometry &other) constQgsGeometry
shortestLine(const QgsGeometry &other) constQgsGeometry
SideLeft enum valueQgsGeometry
SideRight enum valueQgsGeometry
simplify(double tolerance) constQgsGeometry
singleSidedBuffer(double distance, int segments, BufferSide side, JoinStyle joinStyle=JoinStyleRound, 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
SplitCannotSplitPoint enum valueQgsGeometry
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 SIP_IN, int atVertex) constQgsGeometry
subdivide(int maxNodes=256) constQgsGeometry
Success enum valueQgsGeometry
symDifference(const QgsGeometry &geometry) constQgsGeometry
taperedBuffer(double startWidth, double endWidth, int segments) constQgsGeometry
touches(const QgsGeometry &geometry) constQgsGeometry
transform(const QgsCoordinateTransform &ct, QgsCoordinateTransform::TransformDirection direction=QgsCoordinateTransform::ForwardTransform, bool transformZ=false) SIP_THROW(QgsCsException)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
typeQgsGeometry
type() const SIP_HOLDGILQgsGeometry
unaryUnion(const QVector< QgsGeometry > &geometries)QgsGeometrystatic
validateGeometry(QVector< QgsGeometry::Error > &errors, ValidationMethod method=ValidatorQgisInternal, QgsGeometry::ValidityFlags flags=QgsGeometry::ValidityFlags()) constQgsGeometry
ValidationMethod enum nameQgsGeometry
ValidatorGeos enum valueQgsGeometry
ValidatorQgisInternal enum valueQgsGeometry
ValidityFlag enum nameQgsGeometry
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() const SIP_HOLDGILQgsGeometry
~QgsGeometry()QgsGeometryvirtual