QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
MyLine Class Reference

Public Member Functions

 MyLine (QPointF p1, QPointF p2)
 
double angle ()
 
QPointF diffForInterval (double interval)
 
double length ()
 

Protected Attributes

bool mVertical
 
bool mIncreasing
 
double mT
 
double mLength
 

Detailed Description

Definition at line 546 of file qgslinesymbollayerv2.cpp.

Constructor & Destructor Documentation

MyLine::MyLine ( QPointF  p1,
QPointF  p2 
)
inline

Definition at line 549 of file qgslinesymbollayerv2.cpp.

References mIncreasing, mLength, mT, and mVertical.

Member Function Documentation

double MyLine::angle ( void  )
inline
QPointF MyLine::diffForInterval ( double  interval)
inline
double MyLine::length ( )
inline

Member Data Documentation

bool MyLine::mIncreasing
protected

Definition at line 600 of file qgslinesymbollayerv2.cpp.

Referenced by angle(), diffForInterval(), and MyLine().

double MyLine::mLength
protected

Definition at line 602 of file qgslinesymbollayerv2.cpp.

Referenced by length(), and MyLine().

double MyLine::mT
protected

Definition at line 601 of file qgslinesymbollayerv2.cpp.

Referenced by angle(), diffForInterval(), and MyLine().

bool MyLine::mVertical
protected

Definition at line 599 of file qgslinesymbollayerv2.cpp.

Referenced by angle(), diffForInterval(), and MyLine().


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