Home
last modified time | relevance | path

Searched refs:angleAtVertex (Results 1 – 21 of 21) sorted by relevance

/dports/graphics/qgis/qgis-3.22.3/src/analysis/processing/
H A Dqgsalgorithmtransect.cpp188 const double angleAtVertex = line->vertexAngle( vertexId ); in processAlgorithm() local
189 …outFeat.setGeometry( calcTransect( *it, angleAtVertex, evaluatedLength, orientation, evaluatedAngl… in processAlgorithm()
204 QgsGeometry QgsTransectAlgorithm::calcTransect( const QgsPoint &point, const double angleAtVertex, … in calcTransect() argument
213 pLeft = point.project( length, angle + 180.0 / M_PI * angleAtVertex ); in calcTransect()
220 pRight = point.project( -length, angle + 180.0 / M_PI * angleAtVertex ); in calcTransect()
H A Dqgsalgorithmtransect.h70 …QgsGeometry calcTransect( const QgsPoint &point, double angleAtVertex, double length, Side orienta…
H A Dqgsalgorithmextractspecificvertices.cpp202 const double angle = inputGeom.angleAtVertex( vertexIndex ) * 180 / M_PI; in processFeature()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/analysis/processing/
H A Dqgsalgorithmtransect.cpp188 double angleAtVertex = line->vertexAngle( vertexId ); in processAlgorithm() local
189 …outFeat.setGeometry( calcTransect( *it, angleAtVertex, evaluatedLength, orientation, evaluatedAngl… in processAlgorithm()
203 QgsGeometry QgsTransectAlgorithm::calcTransect( const QgsPoint &point, const double angleAtVertex, … in calcTransect() argument
212 pLeft = point.project( length, angle + 180.0 / M_PI * angleAtVertex ); in calcTransect()
219 pRight = point.project( -length, angle + 180.0 / M_PI * angleAtVertex ); in calcTransect()
H A Dqgsalgorithmtransect.h70 …QgsGeometry calcTransect( const QgsPoint &point, double angleAtVertex, double length, Side orienta…
H A Dqgsalgorithmextractspecificvertices.cpp198 double angle = inputGeom.angleAtVertex( vertexIndex ) * 180 / M_PI; in processFeature()
/dports/cad/repsnapper/repsnapper-2.5a4/src/slicer/
H A Dpoly.h76 double angleAtVertex(uint i) const;
H A Dpoly.cpp286 double Poly::angleAtVertex(uint i) const in angleAtVertex() function in Poly
732 double angle = angleAtVertex(i); in drawVertexAngles()
H A Dprintlines.cpp655 abs(m_poly->angleAtVertex(start) < M_PI/4)) { in getDisplacedStart()
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/python/
H A Dtest_qgsgeometry.py4737 self.assertEqual(empty.angleAtVertex(0), 0)
4742 self.assertEqual(point.angleAtVertex(0), 0)
4749 self.assertAlmostEqual(linestring.angleAtVertex(5), 0, places=3)
4750 self.assertAlmostEqual(linestring.angleAtVertex(-1), 0, places=3)
4755 self.assertAlmostEqual(linestring.angleAtVertex(0), math.radians(270), places=3)
4756 self.assertAlmostEqual(linestring.angleAtVertex(2), math.radians(180), places=3)
4766 self.assertAlmostEqual(polygon.angleAtVertex(0), math.radians(135.0), places=3)
4767 self.assertAlmostEqual(polygon.angleAtVertex(1), math.radians(45.0), places=3)
4768 self.assertAlmostEqual(polygon.angleAtVertex(2), math.radians(315.0), places=3)
4769 self.assertAlmostEqual(polygon.angleAtVertex(3), math.radians(225.0), places=3)
[all …]
/dports/graphics/qgis/qgis-3.22.3/tests/src/python/
H A Dtest_qgsgeometry.py4931 self.assertEqual(empty.angleAtVertex(0), 0)
4936 self.assertEqual(point.angleAtVertex(0), 0)
4943 self.assertAlmostEqual(linestring.angleAtVertex(5), 0, places=3)
4944 self.assertAlmostEqual(linestring.angleAtVertex(-1), 0, places=3)
4949 self.assertAlmostEqual(linestring.angleAtVertex(0), math.radians(270), places=3)
4950 self.assertAlmostEqual(linestring.angleAtVertex(2), math.radians(180), places=3)
4960 self.assertAlmostEqual(polygon.angleAtVertex(0), math.radians(135.0), places=3)
4961 self.assertAlmostEqual(polygon.angleAtVertex(1), math.radians(45.0), places=3)
4962 self.assertAlmostEqual(polygon.angleAtVertex(2), math.radians(315.0), places=3)
4963 self.assertAlmostEqual(polygon.angleAtVertex(3), math.radians(225.0), places=3)
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/core/geometry/
H A Dqgsgeometry.h711 double angleAtVertex( int vertex ) const;
H A Dqgsgeometry.cpp435 double QgsGeometry::angleAtVertex( int vertex ) const in angleAtVertex() function in QgsGeometry
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/geometry/
H A Dqgsgeometry.h660 double angleAtVertex( int vertex ) const;
H A Dqgsgeometry.cpp430 double QgsGeometry::angleAtVertex( int vertex ) const in angleAtVertex() function in QgsGeometry
/dports/graphics/qgis-ltr/qgis-3.16.16/python/core/auto_generated/geometry/
H A Dqgsgeometry.sip.in583 double angleAtVertex( int vertex ) const;
1443 .. seealso:: :py:func:`angleAtVertex`
/dports/graphics/qgis/qgis-3.22.3/python/core/auto_generated/geometry/
H A Dqgsgeometry.sip.in636 double angleAtVertex( int vertex ) const;
1644 .. seealso:: :py:func:`angleAtVertex`
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/expression/
H A Dqgsexpressionfunction.cpp4413 return geom.angleAtVertex( vertex ) * 180.0 / M_PI; in fcnAngleAtVertex()
/dports/graphics/qgis/qgis-3.22.3/src/core/expression/
H A Dqgsexpressionfunction.cpp4618 return geom.angleAtVertex( vertex ) * 180.0 / M_PI; in fcnAngleAtVertex()
/dports/graphics/qgis-ltr/qgis-3.16.16/
H A DChangeLog133019 Fix QgsGeometry::angleAtVertex returned wrong angle for start/end
/dports/graphics/qgis/qgis-3.22.3/
H A DChangeLog166712 Fix QgsGeometry::angleAtVertex returned wrong angle for start/end