marPoint.cpp

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003  Program:   wxMaracas
00004  Module:    $RCSfile: marPoint.cpp,v $
00005  Language:  C++
00006  Date:      $Date: 2009/05/14 13:55:08 $
00007  Version:   $Revision: 1.1 $
00008  
00009   Copyright: (c) 2002, 2003
00010   License:
00011   
00012    This software is distributed WITHOUT ANY WARRANTY; without even 
00013    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014    PURPOSE.  See the above copyright notice for more information.
00015    
00016 =========================================================================*/
00017 
00018 #include "marPoint.h"
00019 
00020 // ----------------------------------------------------------------------------
00021 marPoint::marPoint(double x, double y) {
00022         this->x = x;
00023         this->y = y;
00024 }
00025 
00026 marPoint::~marPoint()
00027 {
00028 
00029 }
00030 
00031 // ----------------------------------------------------------------------------
00032 double marPoint::getX()
00033 {
00034         return x;
00035 }
00036 
00037 // ----------------------------------------------------------------------------
00038 double marPoint::getY()
00039 {
00040         return y;
00041 }
00042 
00043 // ----------------------------------------------------------------------------
00044 void marPoint::setPoint(double x, double y){
00045         this->x = x;
00046         this->y = y;
00047 }
00048 
00049 // ----------------------------------------------------------------------------
00050 double marPoint::getGradient() {
00051         return gradient;
00052 }
00053 
00054 // ----------------------------------------------------------------------------
00055 void marPoint::setGradient(double g) {
00056         gradient = g;
00057 }
00058 
00059 // ----------------------------------------------------------------------------
00060 int marPoint::getDirection() {
00061         return dir;
00062 }
00063 
00064 // ----------------------------------------------------------------------------
00065 bool marPoint::getInside() {
00066         return inside;
00067 }
00068 
00069 // ----------------------------------------------------------------------------
00070 void marPoint::setDirection(int direction) {
00071         dir = direction;
00072 }
00073 
00074 // ----------------------------------------------------------------------------
00075 void marPoint::setInside (bool ins) {
00076         inside = ins;
00077 }
00078 
00079 // ----------------------------------------------------------------------------
00080 void marPoint::setIntensity(double intensity)
00081 {
00082         this->intensity = intensity;
00083 }
00084 
00085 // ----------------------------------------------------------------------------
00086 double marPoint::getIntensity()
00087 {
00088         return intensity;
00089 }
00090 
00091 // ----------------------------------------------------------------------------
00092 void marPoint::setType(int type)
00093 {
00094         this->type = type;
00095 }
00096 
00097 // ----------------------------------------------------------------------------
00098 int marPoint::getType()
00099 {
00100         return type;
00101 }
00102 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1