VR-Forces 4.1.1 Class Documentation
shapePointM.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1998 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: shapePointM.h,v $ $Revision: 1.6 $ $State: Exp $
7 ******************************************************************************/
8 #ifndef shapePointM_H_
9 #define shapePointM_H_
10 
11 // \file shapePointM.h
12 // \brief Contains the DtShapePointM, a child of DtShapePoint, class description.
13 
14 #include "shape/shapeDefines.h"
15 #include <stdio.h>
16 #include "shape/shapePoint.h"
17 
18 class DtShapeProjection;
19 
20 
21 // The DtShapePointM class represents a point in a shape file that contains an
22 // associated measure in addition to the position information present for plain
23 // DtShapePoints.
25 {
26 
27 public:
28 
29  // default constructor.
30  DtShapePointM();
31 
32  DtShapePointM(double elevationFactor);
33 
34  // destructor
35  virtual ~DtShapePointM();
36 
37  virtual bool load(FILE* f, bool loadMeasures = false,
38  const DtShapeProjection* projection = 0);
39 
40  virtual double measure();
41  virtual void setMeasure(double m);
42 
43 protected:
44 
45  DtNetFloat64 myMeasure;
46 };
47 
48 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)