VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
shapeHeader.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef SHAPEHEADER_H
7 #define SHAPEHEADER_H
8 
9 #include "shape/shapeDefines.h"
10 #include <stdio.h>
11 #include <vlutil/vlNetTypes.h>
12 
13 // class DtShapeHeader:
14 // WARNING!!!!: public and not virtual because it is used to read shapefiles
15 // directly
16 
18 {
19 
20 public:
21 
22  // default constructor.
23  DtShapeHeader();
24 
25  // destructor
26  ~DtShapeHeader();
27 
28  bool load(FILE *f);
29  bool write(FILE *f);
30 
31  DtNetInt32 myFileCode;
32  DtNetInt32 myPadd1[5];
33  DtNetInt32 myFileLength;
34  DtNetInt32 myVersion;
35  DtNetInt32 myShapeType;
36  DtNetFloat64 myBoundingBox[8];
37 
38 };
39 
40 #endif

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)