Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Protected Attributes | List of all members
ns_whiteboard::dpoint Class Reference

#include <Whiteboard.h>

Inheritance diagram for ns_whiteboard::dpoint:
ns_whiteboard::graphic

Public Member Functions

 dpoint (double x, double y, const double size=1.0, const color &c=black)
 
void Draw (display_type *d)
 
virtual ~dpoint ()
 
- Public Member Functions inherited from ns_whiteboard::graphic
 graphic ()
 
virtual ~graphic ()
 

Protected Attributes

double x_
 
double y_
 
double m_size
 
color m_color
 

Detailed Description

Class defining a point, with coordinates specified as type double to avoid rounding errors.

Constructor & Destructor Documentation

ns_whiteboard::dpoint::dpoint ( double  x,
double  y,
const double  size = 1.0,
const color c = black 
)
inline
Parameters
xx-coordinate of point
yy-coordinate of point
sizesize of point (pts)
ccolor of point
virtual ns_whiteboard::dpoint::~dpoint ( )
inlinevirtual

Member Function Documentation

void ns_whiteboard::dpoint::Draw ( display_type d)
inlinevirtual

Method to draw an object.

Parameters
dpointer to a display_type instantiating a particular graphics file format

Implements ns_whiteboard::graphic.

Member Data Documentation

color ns_whiteboard::dpoint::m_color
protected
double ns_whiteboard::dpoint::m_size
protected
double ns_whiteboard::dpoint::x_
protected
double ns_whiteboard::dpoint::y_
protected

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