Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
iudpos.h
Go to the documentation of this file.
1
#pragma once
2
// iudpos.h
3
8
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
base.h
One stop include for all objects defined as part of base interface.
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:31
itascaxd::IUDPos
Interface to the position in space of user-defined data that requires it.
Definition
iudpos.h:23
itascaxd::IUDPos::setPosition
virtual void setPosition(const DVect &v)=0
Sets the current position of the object.
itascaxd::IUDPos::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
iudpos.h:26
itascaxd::IUDPos::getIThing
virtual IThing * getIThing()=0
Returns an IThing interface to this object.
itascaxd::IUDPos::getPosition
virtual DVect getPosition() const =0
Returns the current position in space of the object.
itascaxd::IUDPos::getIThing
virtual const IThing * getIThing() const =0
TType
uint32 TType
class type indicator
Definition
basedef.h:47
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:156
itasca
namespace Itasca
Definition
basememory.cpp:14
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
common
module
interface
iudpos.h
Generated by
1.18.0