QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef TRIANGULATION_H
18 #define TRIANGULATION_H
24 #include "qgis_analysis.h"
64 virtual int addPoint(
const QgsPoint &point ) = 0;
70 virtual bool calcNormal(
double x,
double y,
QgsPoint &result
SIP_OUT ) = 0;
73 virtual void performConsistencyTest() = 0;
79 virtual bool calcPoint(
double x,
double y,
QgsPoint &result
SIP_OUT ) = 0;
82 virtual QgsPoint *point(
int i )
const = 0;
99 virtual int oppositePoint(
int p1,
int p2 ) = 0;
102 virtual double xMax()
const = 0;
105 virtual double xMin()
const = 0;
108 virtual double yMax()
const = 0;
111 virtual double yMin()
const = 0;
114 virtual int pointsCount()
const = 0;
122 virtual QList<int> surroundingTriangles(
int pointno ) = 0;
130 virtual QList<int> pointsAroundEdge(
double x,
double y ) = 0;
142 virtual void eliminateHorizontalTriangles() = 0;
145 virtual void ruppertRefinement() = 0;
148 virtual bool pointInside(
double x,
double y ) = 0;
157 virtual bool swapEdge(
double x,
double y ) = 0;
Point geometry type, with support for z-dimension and m-values.
Container of fields for a vector layer.
Interface for Triangulation classes.
Mesh - vertices, edges and faces.
ForcedCrossBehavior
Enumeration describing the behavior, if two forced lines cross.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
@ SnappingTypeVertex
The second inserted forced line is snapped to the closest vertice of the first inserted forced line.
SourceType
Describes the type of input data.
QVector< QgsPoint > QgsPointSequence
@ DeleteFirst
The status of the first inserted forced line is reset to that of a normal edge (so that the second in...
An interface for objects which accept features via addFeature(s) methods.
This is an interface for interpolator classes for triangulations.