casa::QPArrow Class Reference

Used by the viewer's region shapes, so have it outside the ifdefs in case the flag isn't on. More...

#include <QPShape.h>

List of all members.

Static Public Member Functions

static std::pair< QPointF,
QPointF > 
arrowPoints (QPointF from, QPointF to, double length)
static void arrowPoints (double x1, double y1, double x2, double y2, double length, double &resX1, double &resY1, double &resX2, double &resY2)

Static Private Member Functions

static std::pair< QPointF,
QPointF > 
arrowPointsHelper (QPointF p1, QPointF p2, double length)

Detailed Description

Used by the viewer's region shapes, so have it outside the ifdefs in case the flag isn't on.

Definition at line 759 of file QPShape.h.


Member Function Documentation

static void casa::QPArrow::arrowPoints ( double  x1,
double  y1,
double  x2,
double  y2,
double  length,
double &  resX1,
double &  resY1,
double &  resX2,
double &  resY2 
) [static]
static std::pair<QPointF, QPointF> casa::QPArrow::arrowPoints ( QPointF  from,
QPointF  to,
double  length 
) [static]
static std::pair<QPointF, QPointF> casa::QPArrow::arrowPointsHelper ( QPointF  p1,
QPointF  p2,
double  length 
) [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1