KD Chart 2  [rev.2.7]
Functions | Variables
TernaryConstants.cpp File Reference
#include "TernaryConstants.h"
#include <cmath>

Go to the source code of this file.

Functions

const QPointF AxisVector_B_A (TriangleTop)
 
const QPointF AxisVector_B_C (TriangleBottomRight)
 
const QPointF AxisVector_C_A (TriangleTop-TriangleBottomRight)
 
const QPointF FullMarkerDistanceAC (-RelMarkerLength *Norm_C_A)
 
const QPointF FullMarkerDistanceBA (RelMarkerLength *Norm_B_A)
 
const QPointF FullMarkerDistanceBC (RelMarkerLength *Norm_B_C)
 
const QPointF Norm_B_A (-AxisVector_B_A.y(), AxisVector_B_A.x())
 
const QPointF Norm_B_C (-AxisVector_B_C.y(), AxisVector_B_C.x())
 
const QPointF Norm_C_A (-AxisVector_C_A.y(), AxisVector_C_A.x())
 
const QPointF TriangleBottomLeft (0.0, 0.0)
 
const QPointF TriangleBottomRight (1.0, 0.0)
 
const QPointF TriangleTop (0.5, TriangleHeight)
 

Variables

const qreal RelMarkerLength = 0.03 * TriangleWidth
 
const qreal Sqrt3 = sqrt( 3.0 )
 
const qreal TriangleHeight = 0.5 * Sqrt3
 
const qreal TriangleWidth = 1.0
 

Function Documentation

const QPointF AxisVector_B_A ( TriangleTop  )
const QPointF AxisVector_B_C ( TriangleBottomRight  )
const QPointF AxisVector_C_A ( TriangleTop TriangleBottomRight)
const QPointF FullMarkerDistanceAC ( -RelMarkerLength Norm_C_A)
const QPointF FullMarkerDistanceBA ( RelMarkerLength Norm_B_A)
const QPointF FullMarkerDistanceBC ( RelMarkerLength Norm_B_C)
const QPointF Norm_B_A ( -AxisVector_B_A.  y(),
AxisVector_B_A.  x() 
)
const QPointF Norm_B_C ( -AxisVector_B_C.  y(),
AxisVector_B_C.  x() 
)
const QPointF Norm_C_A ( -AxisVector_C_A.  y(),
AxisVector_C_A.  x() 
)
const QPointF TriangleBottomLeft ( 0.  0,
0.  0 
)
const QPointF TriangleBottomRight ( 1.  0,
0.  0 
)
const QPointF TriangleTop ( 0.  5,
TriangleHeight   
)

Variable Documentation

const qreal RelMarkerLength = 0.03 * TriangleWidth
const qreal Sqrt3 = sqrt( 3.0 )
const qreal TriangleHeight = 0.5 * Sqrt3
const qreal TriangleWidth = 1.0

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/

https://www.kdab.com/development-resources/qt-tools/kd-chart/