Kinetic Visualization
 All Classes Functions Variables Pages
Public Member Functions
TPoint Class Reference

#include <TPoint.h>

List of all members.

Public Member Functions

 TPoint ()
 TPoint (const QPoint &point)
 TPoint (const TPoint &tpoint)
 TPoint (float x, float y, const QColor &color)
void setPointColor (const QColor &c)
const QColor & pointColor () const

Detailed Description

TPoint class, inherit from QPoint F

defines a point with a color in the plane using floating point precision
the coordinates can be accessed using the x() and y() functions from QPointF

Constructor & Destructor Documentation

TPoint::TPoint ( )

Default-Constructor

TPoint::TPoint ( const QPoint &  point)

Copy-Construct a new Object TPoint with a given QPoint

TPoint::TPoint ( const TPoint tpoint)

Copy-Construct a new Object TPoint with a given TPoint

TPoint::TPoint ( float  x,
float  y,
const QColor &  color 
)

Construct a new Object TPoint with the given coordinates (x, y) and a color.


Member Function Documentation

const QColor& TPoint::pointColor ( ) const
inline

Returns the color of a Point as QColor

Returns:
a QColor
void TPoint::setPointColor ( const QColor &  c)
inline

Sets the color of a Point to QColor c

Parameters:
ca QColor

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