Itasca C++ Interface
Loading...
Searching...
No Matches
ighostball.h
1#pragma once
2// ighostball.h
3
4namespace itasca {
5 class IThing;
6}
7namespace itascaxd {
8 class IBody;
9}
10
11namespace pfc {
12 using namespace itasca;
13 using namespace itascaxd;
14
15 class IBall;
16 class IGhostBall {
17 public:
18 inline static const TType type_ = 0x51c13f5b;
19
20 virtual IThing * getIThing()=0;
21 virtual const IThing * getIThing() const=0;
22 virtual IBody * getIBody()=0;
23 virtual const IBody * getIBody() const=0;
24
25 virtual DVect getPosition() const=0;
26 virtual double getRadius() const=0;
27 virtual DVect getVelocity() const=0;
28 virtual DExtent getCellExtent() const=0;
29 virtual DExtent getToleranceExtent() const=0;
30 virtual const IBall * getMaster() const=0;
31
32
33 };
34} // namespace pfc
35// EoF
36
Base class for items that will be stored in containers.
Definition ithing.h:30
Definition ibody.h:20
Interface for a ball.
Definition iball.h:35
Definition ighostball.h:16
uint32 TType
class type indicator
Definition basedef.h:46
DExtent3 DExtent
A DExtent2 in 2D, a DExtent3 in 3D.
Definition dim.h:160
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
PFC namespace.
Definition iballfluid.h:15