Itasca C++ Interface
iintelem.h
1 #pragma once
2 
3 namespace itasca {
4  class IThing;
5 }
6 
7 namespace zone {
8  using namespace itasca;
9 
10  class IFace;
11  class IIntNode;
12 
14 
17  class IIntElem {
18  public:
20  inline static const TType type_ = 0x4c815a12;
22  virtual const IThing *getIThing() const=0;
24  virtual IThing *getIThing()=0;
27  virtual const IIntElem *getNext() const=0;
30  virtual IIntElem *getNext() =0;
32  virtual const IIntNode *getVertex(const uint32 i) const=0;
35  virtual IIntNode *getVertex(const uint32 i) =0;
38  virtual const IIntElem *getJoin(const uint32 i) const=0;
41  virtual IIntElem *getJoin(const uint32 i) =0;
43  virtual double getArea() const=0;
45  virtual const IFace *getHost() const=0;
47  virtual IFace *getHost() =0;
49  virtual DVect3 getLocation() const=0;
50  virtual const IThing *getOwner() const=0;
51  };
52 
53 } // namespace zone
54 // EoF
Base class for items that will be stored in containers.
Definition: ithing.h:30
Interface to zone faces.
Definition: iface.h:23
Class provides access to the an interface element.
Definition: iintelem.h:17
virtual IFace * getHost()=0
Returns a pointer to the face to which the interface element is attached.
virtual IIntElem * getJoin(const uint32 i)=0
virtual IIntElem * getNext()=0
virtual const IIntElem * getNext() const =0
virtual const IIntElem * getJoin(const uint32 i) const =0
virtual IIntNode * getVertex(const uint32 i)=0
virtual const IIntNode * getVertex(const uint32 i) const =0
Returns a const pointer to interface node, where parameter i is 0,1 or 2.
virtual DVect3 getLocation() const =0
Returns the current centroid of the interface element - the average of the three node position.
virtual const IThing * getIThing() const =0
returns a IThing pointer
virtual IThing * getIThing()=0
returns a const IThing pointer
virtual const IFace * getHost() const =0
Returns a const pointer to the face to which the interface element is attached.
virtual double getArea() const =0
Returns the area of the element triangluar surface.
Class provides access to the an interface node.
Definition: iintnode.h:23
uint32 TType
class type indicator
Definition: basedef.h:46
namespace Itasca
Definition: basememory.cpp:10