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) 2025 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() override;
36 
37  virtual bool load(FILE *f, bool loadMeasures = false,
38  const DtShapeProjection *projection = 0) override;
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) override
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)