Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

OVPoint Class Reference

#include <OVPoint.hpp>

Inheritance diagram for OVPoint::

OGraphic List of all members.

Public Methods

OGraphicclone () const
OGraphiccreate () const
 OVPoint ()
 OVPoint (double, double)
 ~OVPoint ()
double euclid (OVPoint &)
void move (double, double)
void scalar (double)
bool isValid ()
OPoint getOPoint ()
bool operator== (OVPoint &)
bool operator!= (OVPoint &)
OVPoint operator+ (OVPoint &)
OVPoint operator- (OVPoint &)
OVPoint operator/ (int)
OVPoint operator * (int)
void gomo (ostream &)
void gomi (istream &)
void xmlo (ostream &)
void svgo (ostream &)
void clear ()
void set (double, double)
void setX (double)
void setY (double)
double getX ()
double getY ()
double getDX (OVPoint &)
double getDY (OVPoint &)

Protected Attributes

double x
double y

Detailed Description

OVPoint object, a virtual point object with double x,y
Examples:

PExample.cpp.


Constructor & Destructor Documentation

OVPoint::OVPoint  
 

Constructor

OVPoint::OVPoint double    x,
double    y
 

Constructor

OVPoint::~OVPoint  
 

Constructor


Member Function Documentation

void OVPoint::clear   [inline]
 

OGraphic * OVPoint::clone   const [inline, virtual]
 

Reimplemented from OGraphic.

OGraphic * OVPoint::create   const [inline, virtual]
 

Reimplemented from OGraphic.

double OVPoint::euclid OVPoint &    p
 

euclid

double OVPoint::getDX OVPoint &    p [inline]
 

double OVPoint::getDY OVPoint &    p [inline]
 

OPoint OVPoint::getOPoint  
 

valid

double OVPoint::getX   [inline]
 

double OVPoint::getY   [inline]
 

void OVPoint::gomi istream &    is [virtual]
 

GOM input

Reimplemented from OGraphic.

void OVPoint::gomo ostream &    os [virtual]
 

GOM output

Reimplemented from OGraphic.

bool OVPoint::isValid  
 

Is valid

void OVPoint::move double    dx,
double    dy
 

move

OVPoint OVPoint::operator * int    v
 

* operator

bool OVPoint::operator!= OVPoint &    p
 

!= operator

OVPoint OVPoint::operator+ OVPoint &    p
 

+ operator

OVPoint OVPoint::operator- OVPoint &    p
 

  • operator

OVPoint OVPoint::operator/ int    v
 

/ operator

bool OVPoint::operator== OVPoint &    p
 

== operator

void OVPoint::scalar double    a
 

scalar

void OVPoint::set double    x,
double    y
[inline]
 

void OVPoint::setX double    x [inline]
 

void OVPoint::setY double    y [inline]
 

void OVPoint::svgo ostream &    os [virtual]
 

SVG output

Reimplemented from OGraphic.

void OVPoint::xmlo ostream &    os [virtual]
 

XML output

Reimplemented from OGraphic.


Member Data Documentation

double OVPoint::x [protected]
 

double OVPoint::y [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Jul 30 19:21:03 2004 for GOMLib by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001