70    void clear() 
override;
 
   74    bool fromWkt( 
const QString &wkt ) 
override;
 
  189    bool isIsocele( 
double lengthTolerance = 0.0001 ) const 
SIP_HOLDGIL;
 
  209    bool isEquilateral( 
double lengthTolerance = 0.0001 ) const 
SIP_HOLDGIL;
 
  229    bool isRight( 
double angleTolerance = 0.0001 ) const 
SIP_HOLDGIL;
 
  249    bool isScalene( 
double lengthTolerance = 0.0001 ) const 
SIP_HOLDGIL;
 
 
Abstract base class for all geometries.
 
AxisOrder
Axis order for GML generation.
 
@ XY
X comes before Y (or lon before lat)
 
Qgis::WkbType wkbType() const
Returns the WKB type of the geometry.
 
Curve polygon geometry type.
 
bool moveVertex(QgsVertexId position, const QgsPoint &newPos) override
Moves a vertex within the geometry.
 
bool operator!=(const QgsAbstractGeometry &other) const override
 
bool insertVertex(QgsVertexId position, const QgsPoint &vertex) override
Inserts a vertex into the geometry.
 
bool fromWkt(const QString &wkt) override
Sets the geometry from a WKT string.
 
bool deleteVertex(QgsVertexId position) override
Deletes a vertex within the geometry.
 
QDomElement asGml3(QDomDocument &doc, int precision=17, const QString &ns="gml", QgsAbstractGeometry::AxisOrder axisOrder=QgsAbstractGeometry::AxisOrder::XY) const override
Returns a GML3 representation of the geometry.
 
bool operator==(const QgsAbstractGeometry &other) const override
 
Abstract base class for curved geometry type.
 
Line string geometry type, with support for z-dimension and m-values.
 
Point geometry type, with support for z-dimension and m-values.
 
QgsCurvePolygon * toCurveType() const override
Returns the geometry converted to the more generic curve type QgsCurvePolygon.
 
void setExteriorRing(QgsCurve *ring) override
Sets the exterior ring of the polygon.
 
void addInteriorRing(QgsCurve *ring) override
Adds an interior ring to the geometry (takes ownership)
 
QgsPolygon * clone() const override
Clones the geometry by performing a deep copy.
 
void clear() override
Clears the geometry, ie reset it to a null geometry.
 
QString geometryType() const override
Returns a unique string representing the geometry type.
 
QgsAbstractGeometry * boundary() const override
Returns the closure of the combinatorial boundary of the geometry (ie the topological boundary of the...
 
QgsPolygon * createEmptyWithSameType() const override
Creates a new geometry with the same class and same WKB type as the original and transfers ownership.
 
bool fromWkb(QgsConstWkbPtr &wkb) override
Sets the geometry from a WKB string.
 
QgsPolygon * surfaceToPolygon() const override
Gets a polygon representation of this surface.
 
static const QgsTriangle * cast(const QgsAbstractGeometry *geom)
Cast the geom to a QgsTriangle.
 
void setInteriorRings(const QVector< QgsCurve * > &rings)=delete
Inherited method not used.
 
static QgsTriangle * cast(QgsAbstractGeometry *geom)
Cast the geom to a QgsTriangle.
 
static Qgis::WkbType flatType(Qgis::WkbType type)
Returns the flat type for a WKB type.
 
Utility class for identifying a unique vertex within a geometry.