VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
shape
shapePointM.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: shapePointM.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
#ifndef shapePointM_H_
9
#define shapePointM_H_
10
11
// \file shapePointM.h
12
// \brief Contains the DtShapePointM, a child of DtShapePoint, class description.
13
14
#include "
shape/shapeDefines.h
"
15
#include <stdio.h>
16
#include "
shape/shapePoint.h
"
17
18
class
DtShapeProjection
;
19
20
21
// The DtShapePointM class represents a point in a shape file that contains an
22
// associated measure in addition to the position information present for plain
23
// DtShapePoints.
24
class
DT_DLL_shape
DtShapePointM
:
public
DtShapePoint
25
{
26
27
public
:
28
29
// default constructor.
30
DtShapePointM
();
31
32
DtShapePointM
(
double
elevationFactor);
33
34
// destructor
35
virtual
~
DtShapePointM
();
36
37
virtual
bool
load
(FILE* f,
bool
loadMeasures =
false
,
38
const
DtShapeProjection
* projection = 0);
39
40
virtual
double
measure();
41
virtual
void
setMeasure(
double
m);
42
43
protected
:
44
45
DtNetFloat64
myMeasure
;
46
};
47
48
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)