26 enum InOutMode { FullyOut=0, FullyIn, IntersectOut, IntersectIn, Surround};
44 virtual DExtent3 getExtent()
const=0;
46 virtual bool isBoxIn(
const DExtent &d,
const double &tol=1e-7)
const=0;
48 virtual bool intersectsBox(
const DExtent &d,
const double &tol=1e-7)
const=0;
50 virtual InOutMode checkInOutSphere(
const DVect &,
const double &)
const=0;
52 virtual Quat getOrient()
const=0;
55 virtual int getFragmentIndex()
const=0;
56 virtual void setFragmentIndex(
int ind)=0;
59 virtual void resetTimeStepContributions()=0;
62 virtual void getOldStress(std::array<
double,
dimval(3,6)> &)
const=0;
64 virtual double getVolume()
const=0;
66 virtual bool getAnyFixed()
const=0;
67 virtual bool getAllFixed()
const=0;
68 virtual DVect getPosition()
const=0;
69 virtual std::vector<uint64> getSurfaceTriangles()
const=0;
3D quaternion utility class.
Definition quat.h:108
Base class for items that will be stored in containers.
Definition ithing.h:30
virtual const IThing * getIThing() const =0
virtual IThing * getFirstIThing()=0
Get the first IThing - may be different than getFirstPiece.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition ibody.h:23
virtual const IPiece * getFirstPiece() const =0
virtual const IThing * getFirstIThing() const =0
virtual IPiece * getFirstPiece()=0
Get the first piece.
virtual QVariant getAttribute(const QString &name) const =0
Return the value of the attribute.
virtual IThing * getIThing()=0
Return IThing interface associated with this piece.
virtual QStringList getAllAttributes() const =0
Return a list of all the attribute names.
InOutMode
Enumerator for defining the geometric attributes of a body relative to a geometric shape.
Definition ibody.h:26
DIM - Provides code portability between 2D and 3D codes.
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
constexpr const U & dimval(const T &, const U &val3)
Returns the first argument in a 2D compile, and the second in a 3D compile.
Definition dim.h:199
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4