Quantum GIS API Documentation  1.7.4
Public Member Functions | Protected Attributes
MyLine Class Reference

List of all members.

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 153 of file qgslinesymbollayerv2.cpp.


Constructor & Destructor Documentation

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

Definition at line 156 of file qgslinesymbollayerv2.cpp.

References mIncreasing, mLength, mT, and mVertical.


Member Function Documentation

double MyLine::angle ( void  ) [inline]
QPointF MyLine::diffForInterval ( double  interval) [inline]

Definition at line 192 of file qgslinesymbollayerv2.cpp.

References mIncreasing, mT, and mVertical.

Referenced by QgsMarkerLineSymbolLayerV2::renderPolylineInterval().

double MyLine::length ( ) [inline]

Definition at line 203 of file qgslinesymbollayerv2.cpp.

References mLength.

Referenced by QgsMarkerLineSymbolLayerV2::renderPolylineInterval().


Member Data Documentation

bool MyLine::mIncreasing [protected]

Definition at line 207 of file qgslinesymbollayerv2.cpp.

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

double MyLine::mLength [protected]

Definition at line 209 of file qgslinesymbollayerv2.cpp.

Referenced by length(), and MyLine().

double MyLine::mT [protected]

Definition at line 208 of file qgslinesymbollayerv2.cpp.

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

bool MyLine::mVertical [protected]

Definition at line 206 of file qgslinesymbollayerv2.cpp.

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


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