Itasca C++ Interface
idfncluster.h
1 #pragma once
2 // idfncluster.h
3 
4 namespace itasca {
5  class IThing;
6  class IContainer;
7 }
8 
9 
10 namespace dfn {
11  using namespace itasca;
12 
13  class IFracture;
14  class IIntersectionSet;
15 
16  class IDFNCluster {
17  public:
18  inline static const TType type_ = 0x4f4fab1c;
19 
20  virtual IThing * getIThing()=0;
21  virtual const IThing * getIThing() const=0;
22  virtual IString getName() const=0;
23  virtual void getFractureOfClusterList(FArray<IFracture *> *ret,uint64 ind=0) const=0;
24  virtual void getPathClusterList(FArray<IFracture *> *ret,IFracture* f1, IFracture* f2) const=0;
25  virtual int getLargestCluster() const=0;
26  virtual int getMaxIndCluster() const=0;
27  virtual void assignIntersectionSet(const IIntersectionSet* s)=0;
28  };
29 } // namespace dfn
30 // EoF
An array class that attempts to minimize unnecessary heap access.
Definition: farray.h:25
Definition: istring.h:14
Definition: idfncluster.h:16
virtual void assignIntersectionSet(const IIntersectionSet *s)=0
assign an intersection set to the cluster
virtual void getPathClusterList(FArray< IFracture * > *ret, IFracture *f1, IFracture *f2) const =0
returns the path between two fractures
virtual void getFractureOfClusterList(FArray< IFracture * > *ret, uint64 ind=0) const =0
returns the fractures with the given cluster index or all fracture if zero
virtual int getLargestCluster() const =0
returns the index of the largest cluster
virtual IString getName() const =0
returns the name
virtual IThing * getIThing()=0
returns the generic type
virtual int getMaxIndCluster() const =0
returns the largest index of available cluster
virtual const IThing * getIThing() const =0
returns the generic type
Definition: ifracture.h:24
Definition: iintersectionset.h:22
Base class for items that will be stored in containers.
Definition: ithing.h:30
uint32 TType
class type indicator
Definition: basedef.h:46
namespace Itasca
Definition: basememory.cpp:10