Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

seDRMPolar2DLocation.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2004 Accent Geographic. All rights reserved.
00003  *  See the license file for licensing information.
00004  *  Created: Mon Jul 12 23:48:02 2004
00005 
00006  *  DO NOT EDIT THIS FILE! (Autogenerated)
00007  */
00008 

00010 

00012 
00018 #ifndef _seDRMPolar2DLocation_h
00019 #define _seDRMPolar2DLocation_h
00020 
00021 #include "seDRMLocation2D.h"
00022 
00023 namespace sedris {
00024 
00030 class seDRMPolar2DLocation : public seDRMLocation2D
00031 {
00032 public:
00033 
00035     seDRMPolar2DLocation() {}
00036 
00038     seDRMPolar2DLocation( const seObject &other ) : seDRMLocation2D(other) {}
00039 
00041     const SRM_Polar_2D_Coordinate& get_coordinate() { DRMBASE_RET_FIELDS(Polar_2D_Location, coordinate); }
00042 
00044     void set_coordinate( const SRM_Polar_2D_Coordinate &val ) { DRMBASE_SET_FIELDS(Polar_2D_Location, coordinate, val); }
00045     
00047     void set_coordinate( SRM_Long_Float angle, SRM_Long_Float radius ) {
00048         DRMBASE_ALLOC_FIELDS;
00049         DRMBASE_SET_FIELDS_S(Polar_2D_Location, coordinate, angle, angle);
00050         DRMBASE_SET_FIELDS_S(Polar_2D_Location, coordinate, radius, radius);
00051     }
00052     
00054     virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_POLAR_2D_LOCATION; }
00055 
00056 };
00057 
00058 } // namespace sedris
00059 
00060 #endif // _seDRMPolar2DLocation_h

SEDRIS Transmittal Access C++ API 4.0.0 beta - 14 Jul 2004
Copyright © 2004 SEDRIS Docs by Doxygen 1.3.2