|
| Polygons () |
|
| Polygons (const Polygons &r) |
|
Polygons & | operator= (const Polygons &r) |
|
virtual | ~Polygons () |
|
String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface to AStringable.
|
|
Id | resetFromDb (const Db *db, double dilate=0., bool verbose=false) |
|
Id | resetFromCSV (const String &filename, const CSVformat &csv, bool verbose=false, Id ncol_max=-1, Id nrow_max=-1) |
|
Id | resetFromWKT (const String &filename, const CSVformat &csv, bool verbose=false, Id ncol_max=-1, Id nrow_max=-1) |
|
Id | getNPolyElem () const |
|
void | addPolyElem (const PolyElem &polyelem) |
|
const std::vector< PolyElem > & | getPolyElems () const |
|
const PolyElem & | getPolyElem (Id ipol) const |
|
PolyElem | getClosedPolyElem (Id ipol) const |
|
const & | getX (Id ipol) const |
|
const & | getY (Id ipol) const |
|
void | setX (Id ipol, const 1 &x) |
|
void | setY (Id ipol, const 1 &y) |
|
void | getExtension (double *xmin, double *xmax, double *ymin, double *ymax) const |
|
double | getSurface () const |
|
bool | inside (const 1 &coor, bool flag_nested=false) const |
|
Polygons | reduceComplexity (double distmin) const |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (Id level) const final |
|
| ASerializable () |
|
| ASerializable (const ASerializable &r) |
|
ASerializable & | operator= (const ASerializable &r) |
|
| ASerializable (ASerializable &&r) noexcept |
|
ASerializable & | operator= (ASerializable &&r) noexcept |
|
virtual | ~ASerializable () |
|
bool | dumpToNF (const String &NFFilename, const EFormatNF &format=EFormatNF::fromKey("DEFAULT"), bool verbose=false) const |
| Dump the contents of an object into an Output File using a given Output NF Format.
|
|
void | setDefaultFormatNF (const EFormatNF &format) |
|
|
static Polygons * | create () |
|
static Polygons * | createFromNF (const String &NFFilename, bool verbose=false) |
|
static Polygons * | createFromCSV (const String &filename, const CSVformat &csv=CSVformat(), Id verbose=false, Id ncol_max=-1, Id nrow_max=-1) |
|
static Polygons * | createFromWKT (const String &filename, const CSVformat &csv=CSVformat(), Id verbose=false, Id ncol_max=-1, Id nrow_max=-1) |
|
static Polygons * | createFromDb (const Db *db, double dilate=0., bool verbose=false) |
|
static String | buildFileName (Id status, const String &filename, bool ensureDirExist=false) |
|
static String | getFileIdentity (const String &filename, bool verbose=false) |
|
static void | setPrefixName (const String &prefixName) |
|
static void | unsetPrefixName () |
|
static const String & | getPrefixName () |
|