1.4.1
CCC
 
Faults Class Reference

#include <Faults.hpp>

Inheritance diagram for Faults:
AStringable ASerializable

Public Member Functions

 Faults ()
 
 Faults (const Faults &r)
 
Faultsoperator= (const Faults &r)
 
virtual ~Faults ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
int getNFaults () const
 
void addFault (const PolyLine2D &fault)
 
const std::vector< PolyLine2D > & getFaults () const
 
const PolyLine2DgetFault (int ifault) const
 
bool isSplitByFault (double xt1, double yt1, double xt2, double yt2) const
 
bool isSplitByFaultSP (const SpacePoint &P1, const SpacePoint &P2) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)
 
ASerializableoperator= (const ASerializable &r)
 
virtual ~ASerializable ()
 
bool deserialize (std::istream &is, bool verbose=true)
 
bool serialize (std::ostream &os, bool verbose=true) const
 
bool dumpToNF (const String &neutralFilename, bool verbose=false) const
 

Static Public Member Functions

static FaultscreateFromNF (const String &neutralFilename, bool verbose=true)
 
- Static Public Member Functions inherited from ASerializable
static String buildFileName (int status, const String &filename, bool ensureDirExist=false)
 
static String getHomeDirectory (const String &sub="")
 
static String getWorkingDirectory ()
 
static String getTestData (const String &subdir, const String &filename)
 
static String getFileIdentity (const String &filename, bool verbose=false)
 
static void setContainerName (bool useDefault, const String &containerName="", bool verbose=false)
 
static void unsetContainerName ()
 
static void setPrefixName (const String &prefixName)
 
static void unsetPrefixName ()
 
static const StringgetContainerName ()
 
static const StringgetPrefixName ()
 
static bool createDirectory (const String &dir)
 
static String getExecDirectory ()
 
static String getDirectory (const String &path)
 

Constructor & Destructor Documentation

◆ Faults() [1/2]

Faults::Faults ( )

◆ Faults() [2/2]

Faults::Faults ( const Faults r)

◆ ~Faults()

Faults::~Faults ( )
virtual

Member Function Documentation

◆ addFault()

void Faults::addFault ( const PolyLine2D fault)

◆ createFromNF()

Faults * Faults::createFromNF ( const String neutralFilename,
bool  verbose = true 
)
static

◆ getFault()

const PolyLine2D& Faults::getFault ( int  ifault) const
inline

◆ getFaults()

const std::vector<PolyLine2D>& Faults::getFaults ( ) const
inline

◆ getNFaults()

int Faults::getNFaults ( ) const
inline

◆ isSplitByFault()

bool Faults::isSplitByFault ( double  xt1,
double  yt1,
double  xt2,
double  yt2 
) const

◆ isSplitByFaultSP()

bool Faults::isSplitByFaultSP ( const SpacePoint P1,
const SpacePoint P2 
) const

◆ operator=()

Faults & Faults::operator= ( const Faults r)

◆ toString()

String Faults::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from AStringable.


The documentation for this class was generated from the following files: