VR-Forces Developer's Guide
 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) 2025 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() override;
31 
32  virtual bool load(FILE *f, bool loadMeasures = false,
33  const DtShapeProjection *projection = NULL) override;
34  virtual DtShapePoint *point(int i) override;
35  virtual DtInt32 numPoints() override;
36  virtual void setElevation(double elev) override;
37  virtual void calculateMaxMins(double &myMaxHigh, double &myMinHigh) override;
38 
39  virtual DtGroup *import(DtShapeReader *reader) override;
40 
41  virtual bool importAsFeature(DtShapeVectorReader *reader,
42  DtSpecificationID specID,
43  DtSpecification &specification) override;
44 
45 protected:
46 
47  DtNetFloat64 myBoundingBox[4];
48  DtNetInt32 myNumPoints;
50 };
51 
52 #endif
virtual DtInt32 numPoints()=0
DtShapePoint * myPoints
Definition: shapeMultiPoint.h:49
virtual void calculateMaxMins(double &myMaxHigh, double &myMinHigh)=0
Definition: shapeVectorReader.h:29
Definition: shapeProjectionInformation.h:68
unsigned int DtSpecificationID
Definition: specificationManager.h:22
Definition: group.h:28
Definition: shapeMultiPoint.h:21
virtual void setElevation(double elev)=0
virtual bool load(FILE *f, bool loadMeasures=false, const DtShapeProjection *projection=NULL)=0
DtNetInt32 myNumPoints
Definition: shapeMultiPoint.h:48
virtual DtShapePoint * point(int i)=0
int DtInt32
Definition: vrvControlStructTypes.h:31
Definition: shapeElement.h:30
Definition: specification.h:27
Definition: shapeReader.h:30
virtual bool importAsFeature(DtShapeVectorReader *reader, DtSpecificationID specID, DtSpecification &s)=0
#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)