VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
shapeMultiPoint.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef SHAPEMULTIPOINT_H
7 #define SHAPEMULTIPOINT_H
8 
9 #include "shape/shapeDefines.h"
10 #include <stdio.h>
11 #include "shape/shapeElement.h"
12 
13 class DtShapePoint;
14 class DtShapeReader;
16 class DtGroup;
17 
18 // class DtShapeMultiPoint:
19 //
20 
22 {
23 
24 public:
25 
26  // default constructor.
27  DtShapeMultiPoint(double elevationFactor);
28 
29  // destructor
30  virtual ~DtShapeMultiPoint();
31 
32  virtual bool load(FILE *f, bool loadMeasures = false, const DtShapeProjection* projection = NULL);
33  virtual DtShapePoint* point(int i);
34  virtual DtInt32 numPoints();
35  virtual void setElevation(double elev);
36  virtual void calculateMaxMins(double &myMaxHigh, double &myMinHigh);
37 
38  virtual DtGroup* import(DtShapeReader* reader);
39 
40  virtual bool importAsFeature(DtShapeVectorReader* reader,
41  DtSpecificationID specID,
42  DtSpecification& specification);
43 
44 protected:
45 
46  DtNetFloat64 myBoundingBox[4];
47  DtNetInt32 myNumPoints;
49 };
50 
51 #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)