Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iudpos.h
Go to the documentation of this file.
1 #pragma once
2 // iudpos.h
3 
9 #include "base/src/base.h"
10 namespace itasca {
11  class IThing;
12 }
13 
14 namespace itascaxd {
15  using namespace itasca;
16 
17  class IUDData;
18 
20 
23  class IUDPos {
24  public:
26  inline static const TType type_ = 0x4c815bd2;
27 
29  virtual IThing * getIThing()=0;
30  virtual const IThing * getIThing() const=0;
31 
33  virtual DVect getPosition() const=0;
35  virtual void setPosition(const DVect &v)=0;
36  };
37 } // namespace itascaxd
38 
39 // EoF
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
Interface to the position in space of user-defined data that requires it.
Definition: iudpos.h:23
unsigned int TType
class type indicator
Definition: basedef.h:41
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
One stop include for all objects defined as part of base interface.
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition: dim.h:145