VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
shapePoint.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef SHAPEPOINT_H
7 #define SHAPEPOINT_H
8 
9 #include "shape/shapeDefines.h"
10 #include <stdio.h>
11 #include "geometry/point.h"
12 #include "shape/shapeElement.h"
14 
15 class DtShapeReader;
17 class DtGroup;
18 class DtShapeProjection;
19 
20 // class DtShapePoint:
21 //
23 {
24 
25 public:
26 
27  // default constructor.
28  DtShapePoint();
29 
30  DtShapePoint(double elevationFactor);
31 
32  // destructor
33  virtual ~DtShapePoint();
34 
35  virtual bool load(FILE* f, bool loadMeasures = false, const DtShapeProjection* projection = NULL);
36 
37  virtual DtPoint& point();
38 
39  virtual double x();
40  virtual double y();
41  virtual double z();
42 
43  virtual void setX(double x);
44  virtual void setY(double y);
45  virtual void setZ(double z);
46 
47  virtual void setElevation(double elev);
48  virtual void calculateMaxMins(double& myMaxHigh, double& myMinHigh);
49 
50  virtual DtGroup* import(DtShapeReader* reader);
51  virtual bool importAsFeature(DtShapeVectorReader* reader,
52  DtSpecificationID specID,
53  DtSpecification& specification);
54 
55  virtual DtShapePoint* point(int i);
56  virtual DtInt32 numPoints();
57 
58 protected:
59 
61 };
62 
63 #endif

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)