Itasca C++ Interface
Loading...
Searching...
No Matches
ifragment.h
1#pragma once
2
3namespace itasca
4{
5 class IThing;
6 class IContainer;
7}
8
9
10namespace itascaxd
11{
12 using namespace itasca;
13
14 class IFragment {
15 public:
16 inline static const TType type_ = 0x51a871bc;
17 virtual IThing * getIThing() = 0;
18 virtual const IThing * getIThing() const = 0;
19
20 virtual DVect barycentre() const = 0;
21 virtual double volume() const = 0;
22 virtual uint nbelem() const = 0;
23 virtual quint64 getID() const = 0;
24 virtual quint64 getFather() const = 0;
25 virtual QVector<quint64> getChildren() const = 0;
26 };
27
28}
29
Base class for items that will be stored in containers.
Definition ithing.h:30
Definition ifragment.h:14
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