Itasca C++ Interface
Loading...
Searching...
No Matches
iintelem.h
1#pragma once
2
3namespace itasca {
4 class IThing;
5}
6
7namespace 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;
37 virtual double getArea() const=0;
39 virtual const IFace *getHost() const=0;
41 virtual IFace *getHost() =0;
43 virtual DVect3 getLocation() const=0;
44 virtual const IThing *getOwner() const=0;
45 };
46
47} // namespace zone
48// 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 IThing * getIThing()=0
returns a const IThing pointer
virtual IIntElem * getNext()=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 const IThing * getIThing() const =0
returns a IThing pointer
virtual IIntNode * getVertex(const uint32 i)=0
virtual const IFace * getHost() const =0
Returns a const pointer to the face to which the interface element is attached.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition iintelem.h:20
virtual const IIntElem * getNext() const =0
virtual DVect3 getLocation() const =0
Returns the current centroid of the interface element - the average of the three node position.
virtual IFace * getHost()=0
Returns a 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