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 | euclidian_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) |
|
QPointF circlePoint |
( |
QPointF |
center, |
|
|
qreal |
radius, |
|
|
qreal |
angle |
|
) |
| |
qreal clampAngle |
( |
qreal |
a | ) |
|
|
inline |
qreal euclidian_distance |
( |
QPointF |
po, |
|
|
QPointF |
pd |
|
) |
| |
|
inline |
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 & |
center, |
|
|
qreal & |
radius |
|
) |
| |
Compute the circumscribed circle from three points.
- Returns
- false if the three points are colinear
Definition at line 339 of file qgsarrowsymbollayer.cpp.
void spiralArcTo |
( |
QPainterPath & |
path, |
|
|
QPointF |
center, |
|
|
qreal |
startAngle, |
|
|
qreal |
startRadius, |
|
|
qreal |
endAngle, |
|
|
qreal |
endRadius, |
|
|
int |
direction |
|
) |
| |