VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
shape
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
;
15
class
DtShapeVectorReader
;
16
class
DtGroup
;
17
18
// class DtShapeMultiPoint:
19
//
20
21
class
DT_DLL_shape
DtShapeMultiPoint
:
public
DtShapeElement
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
;
48
DtShapePoint
*
myPoints
;
49
};
50
51
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)