1 /*=========================================================================
4 Module: $RCSfile: marPoint.cpp,v $
6 Date: $Date: 2008/10/31 16:32:56 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
20 // ----------------------------------------------------------------------------
21 marPoint::marPoint(double x, double y) {
31 // ----------------------------------------------------------------------------
32 double marPoint::getX()
37 // ----------------------------------------------------------------------------
38 double marPoint::getY()
43 // ----------------------------------------------------------------------------
44 void marPoint::setPoint(double x, double y){
49 // ----------------------------------------------------------------------------
50 double marPoint::getGradient() {
54 // ----------------------------------------------------------------------------
55 void marPoint::setGradient(double g) {
59 // ----------------------------------------------------------------------------
60 int marPoint::getDirection() {
64 // ----------------------------------------------------------------------------
65 bool marPoint::getInside() {
69 // ----------------------------------------------------------------------------
70 void marPoint::setDirection(int direction) {
74 // ----------------------------------------------------------------------------
75 void marPoint::setInside (bool ins) {
79 // ----------------------------------------------------------------------------
80 void marPoint::setIntensity(double intensity)
82 this->intensity = intensity;
85 // ----------------------------------------------------------------------------
86 double marPoint::getIntensity()
91 // ----------------------------------------------------------------------------
92 void marPoint::setType(int type)
97 // ----------------------------------------------------------------------------
98 int marPoint::getType()