![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 1998 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: shapePointM.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 #ifndef shapePointM_H_ 00009 #define shapePointM_H_ 00010 00011 // \file shapePointM.h 00012 // \brief Contains the DtShapePointM, a child of DtShapePoint, class description. 00013 00014 #include "shape/shapeDefines.h" 00015 #include <stdio.h> 00016 #include "shape/shapePoint.h" 00017 00018 class DtShapeProjection; 00019 00020 00021 // The DtShapePointM class represents a point in a shape file that contains an 00022 // associated measure in addition to the position information present for plain 00023 // DtShapePoints. 00024 class DT_DLL_shape DtShapePointM : public DtShapePoint 00025 { 00026 00027 public: 00028 00029 // default constructor. 00030 DtShapePointM(); 00031 00032 DtShapePointM(double elevationFactor); 00033 00034 // destructor 00035 virtual ~DtShapePointM(); 00036 00037 virtual bool load(FILE* f, bool loadMeasures = false, 00038 const DtShapeProjection* projection = 0); 00039 00040 virtual double measure(); 00041 virtual void setMeasure(double m); 00042 00043 protected: 00044 00045 DtNetFloat64 myMeasure; 00046 }; 00047 00048 #endif