Itasca C++ Interface
Loading...
Searching...
No Matches
iudpos.h
Go to the documentation of this file.
1#pragma once
2// iudpos.h
3
9#include "base/src/base.h"
10namespace itasca {
11 class IThing;
12}
13
14namespace 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
One stop include for all objects defined as part of base interface.
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface to the position in space of user-defined data that requires it.
Definition iudpos.h:23
virtual void setPosition(const DVect &v)=0
Sets the current position of the object.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition iudpos.h:26
virtual IThing * getIThing()=0
Returns an IThing interface to this object.
virtual DVect getPosition() const =0
Returns the current position in space of the object.
virtual const IThing * getIThing() const =0
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4