libzmf::Point Struct Reference

#include <ZMFTypes.h>

List of all members.

Public Member Functions

 Point ()
 Point (double xVal, double yVal)
Point move (double dx, double dy) const
Point rotate (double rotation, const Point &center) const
double distance (const Point &p2) const

Public Attributes

double x
double y

Constructor & Destructor Documentation

libzmf::Point::Point ( ) [inline]

Referenced by move(), and rotate().

libzmf::Point::Point ( double  xVal,
double  yVal 
) [inline]

Member Function Documentation

double libzmf::Point::distance ( const Point p2) const
Point libzmf::Point::move ( double  dx,
double  dy 
) const
Point libzmf::Point::rotate ( double  rotation,
const Point center 
) const

Member Data Documentation


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