Go to the source code of this file.
|
QPointF | circlePoint (QPointF center, qreal radius, qreal angle) |
|
qreal | clampAngle (qreal a) |
|
QPolygonF | curvedArrow (QPointF po, QPointF pm, QPointF pd, qreal startWidth, qreal width, qreal headWidth, qreal headHeight, QgsArrowSymbolLayer::HeadType headType, QgsArrowSymbolLayer::ArrowType arrowType, qreal offset) |
|
qreal | euclidean_distance (QPointF po, QPointF pd) |
|
void | pathArcTo (QPainterPath &path, QPointF circleCenter, qreal circleRadius, qreal angle_o, qreal angle_d, int direction) |
|
bool | pointsToCircle (QPointF a, QPointF b, QPointF c, QPointF ¢er, qreal &radius) |
| Compute the circumscribed circle from three points. More...
|
|
void | spiralArcTo (QPainterPath &path, QPointF center, qreal startAngle, qreal startRadius, qreal endAngle, qreal endRadius, int direction) |
|
QPolygonF | straightArrow (QPointF po, QPointF pd, qreal startWidth, qreal width, qreal headWidth, qreal headHeight, QgsArrowSymbolLayer::HeadType headType, QgsArrowSymbolLayer::ArrowType arrowType, qreal offset) |
|
◆ circlePoint()
QPointF circlePoint |
( |
QPointF |
center, |
|
|
qreal |
radius, |
|
|
qreal |
angle |
|
) |
| |
◆ clampAngle()
qreal clampAngle |
( |
qreal |
a | ) |
|
|
inline |
◆ curvedArrow()
◆ euclidean_distance()
qreal euclidean_distance |
( |
QPointF |
po, |
|
|
QPointF |
pd |
|
) |
| |
|
inline |
◆ pathArcTo()
void pathArcTo |
( |
QPainterPath & |
path, |
|
|
QPointF |
circleCenter, |
|
|
qreal |
circleRadius, |
|
|
qreal |
angle_o, |
|
|
qreal |
angle_d, |
|
|
int |
direction |
|
) |
| |
◆ pointsToCircle()
bool pointsToCircle |
( |
QPointF |
a, |
|
|
QPointF |
b, |
|
|
QPointF |
c, |
|
|
QPointF & |
center, |
|
|
qreal & |
radius |
|
) |
| |
Compute the circumscribed circle from three points.
- Returns
false
if the three points are colinear
Definition at line 368 of file qgsarrowsymbollayer.cpp.
◆ spiralArcTo()
void spiralArcTo |
( |
QPainterPath & |
path, |
|
|
QPointF |
center, |
|
|
qreal |
startAngle, |
|
|
qreal |
startRadius, |
|
|
qreal |
endAngle, |
|
|
qreal |
endRadius, |
|
|
int |
direction |
|
) |
| |
◆ straightArrow()