#include <Faults.hpp>
Public Member Functions | |
Faults () | |
Faults (const Faults &r) | |
Faults & | operator= (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 PolyLine2D & | getFault (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) | |
AStringable & | operator= (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) | |
ASerializable & | operator= (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 Faults * | createFromNF (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 String & | getContainerName () |
static const String & | getPrefixName () |
static bool | createDirectory (const String &dir) |
static String | getExecDirectory () |
static String | getDirectory (const String &path) |
Faults::Faults | ( | ) |
Faults::Faults | ( | const Faults & | r | ) |
|
virtual |
void Faults::addFault | ( | const PolyLine2D & | fault | ) |
|
inline |
|
inline |
|
inline |
bool Faults::isSplitByFault | ( | double | xt1, |
double | yt1, | ||
double | xt2, | ||
double | yt2 | ||
) | const |
bool Faults::isSplitByFaultSP | ( | const SpacePoint & | P1, |
const SpacePoint & | P2 | ||
) | const |
|
overridevirtual |
Interface for AStringable.
Reimplemented from AStringable.