Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ijointthing.h
Go to the documentation of this file.
1 #pragma once
2 // ijointthing.h
3 #include "iblockdef.h"
4 #include "base/src/farray.h"
5 
12 namespace itasca
13 {
14  class IThing;
15 }
16 
17 namespace block
18 {
19  class IBlockThing;
20  class IContactThing;
21  class ISubcontactThing;
22 
24  {
25  public:
26 
28  inline static const TType type_ = 0x528d00bc;
30  virtual const itasca::IThing * getIThing() const=0;
32  virtual itasca::IThing * getIThing()=0;
34  virtual FInt getFortranOffset() const = 0;
36  virtual quint64 getJointFaceID() const=0;
38  virtual DVect3 getVertexLocation(quint32 vNum) const=0;
40  virtual DVect3 getVertexDisplacement(quint32 vNum) const = 0;
42  virtual const IContactThing * getContact() const=0;
44  virtual quint64 getContactID() const=0;
47  virtual void getSubcontacts(FArray< QPair<const ISubcontactThing *, double> > *subcontacts, quint32 vNum) const=0;
49  //virtual bool isOnBlock1() const=0;
51  //virtual bool isOnBlock2() const=0;
53  virtual bool isBad() const=0;
55  virtual bool isContactFace() const = 0;
56 
57  virtual uint getSize() const = 0;
58  };
59 
60 } // end namespace block
61 // EOF
Definition: ijointthing.h:23
Definition: icontactthing.h:30
virtual bool isBad() const =0
Return true if face is degenerate or corrupted.
namespace Itasca
Definition: basememory.cpp:9
Int FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition: iblockdef.h:19
virtual void getSubcontacts(FArray< QPair< const ISubcontactThing *, double > > *subcontacts, quint32 vNum) const =0
Base class for items that will be stored in containers.
Definition: ithing.h:31
Fortran to C++ type declarations.
virtual bool isContactFace() const =0
Return true if face without subcontact.
An array class that attempts to minimize unnecessary heap access.
virtual DVect3 getVertexDisplacement(quint32 vNum) const =0
Return displacement of vertex vNum (0 - 2)
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual const IContactThing * getContact() const =0
Return the contact associated with the face.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual quint64 getContactID() const =0
Return the id of the contact associated with the face.
An array class that attempts to minimize unnecessary heap access.
Definition: farray.h:27
virtual DVect3 getVertexLocation(quint32 vNum) const =0
Return location of vertex vNum (0 - 2)
virtual FInt getFortranOffset() const =0
Return joint face thing fortran offset.
virtual quint64 getJointFaceID() const =0
Returns the Thing id of the joint face.
static const TType type_
type used in IThing typing system
Definition: ijointthing.h:28