KD Chart 2  [rev.2.7]
Public Member Functions | List of all members
TernaryPoint Class Reference

TernaryPoint defines a point within a ternary coordinate plane. More...

#include <TernaryPoint.h>

Public Member Functions

qreal a () const
 
qreal b () const
 
qreal c () const
 
bool isValid () const
 
void set (qreal a, qreal b)
 
 TernaryPoint ()
 
 TernaryPoint (qreal a, qreal b)
 

Detailed Description

TernaryPoint defines a point within a ternary coordinate plane.

Definition at line 33 of file TernaryPoint.h.

Constructor & Destructor Documentation

TernaryPoint::TernaryPoint ( )

Definition at line 31 of file TernaryPoint.cpp.

References isValid().

TernaryPoint::TernaryPoint ( qreal  a,
qreal  b 
)

Definition at line 38 of file TernaryPoint.cpp.

References a(), and b().

Member Function Documentation

qreal TernaryPoint::a ( ) const

Definition at line 39 of file TernaryPoint.h.

Referenced by c(), operator<<(), set(), TernaryPoint(), and translate().

qreal TernaryPoint::b ( ) const

Definition at line 40 of file TernaryPoint.h.

Referenced by c(), operator<<(), set(), TernaryPoint(), and translate().

qreal TernaryPoint::c ( ) const

Definition at line 41 of file TernaryPoint.h.

References a(), b(), isValid(), operator<<(), and translate().

Referenced by operator<<().

bool TernaryPoint::isValid ( ) const

Definition at line 60 of file TernaryPoint.cpp.

Referenced by c(), operator<<(), set(), TernaryPoint(), and translate().

void TernaryPoint::set ( qreal  a,
qreal  b 
)

Definition at line 45 of file TernaryPoint.cpp.

References a(), b(), and isValid().


The documentation for this class was generated from the following files:

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/