VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
Definition: shapeProjectionInformation.h:68
virtual bool load(FILE *f, bool loadMeasures=false, const DtShapeProjection *projection=NULL)
DtNetFloat64 myMeasure
Definition: shapePointM.h:45
Definition: shapePointM.h:24
#define DT_DLL_shape
Definition: shapeDefines.h:23
Definition: shapePoint.h:22

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)