#include "geoslib_old_f.h"
#include "Basic/PolyLine2D.hpp"
#include "Basic/NamingConvention.hpp"
#include "Geometry/GeometryHelper.hpp"
#include "Stats/Classical.hpp"
#include "Stats/Regression.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
Functions | |
int | dbUnfoldPolyline (Db *db, const PolyLine2D &polyline, const NamingConvention &namconv) |
int | dbFoldPolyline (DbGrid *dbin, Db *dbout, const VectorInt &cols, const PolyLine2D &polyline, const NamingConvention &namconv) |
int | dbFromPolylines (Db *db, const PolyLine2D &top, const PolyLine2D &bot, int nb_neigh, bool flagMask, const NamingConvention &namconv) |
double | distanceBetweenPolylines (const PolyLine2D &poly1, const PolyLine2D &poly2, const PolyPoint2D &pldist1, const PolyPoint2D &pldist2) |
int dbFoldPolyline | ( | DbGrid * | dbin, |
Db * | dbout, | ||
const VectorInt & | cols, | ||
const PolyLine2D & | polyline, | ||
const NamingConvention & | namconv | ||
) |
Fold an input Db into an output Db with respect to a polyline
[in] | dbin | Input Db structure |
[in] | dbout | Output Db structure |
[in] | cols | Vector of the target variable ranks |
[in] | polyline | PolyLine2D structure |
[in] | namconv | Naming convention |
int dbFromPolylines | ( | Db * | db, |
const PolyLine2D & | top, | ||
const PolyLine2D & | bot, | ||
int | nb_neigh, | ||
bool | flagMask, | ||
const NamingConvention & | namconv | ||
) |
Calculate quantities on the Db by comparison with top and bottom polylines
db | Pointer to the Db where relevant information will be stored |
top | 2-D Polyline defining the Top surface |
bot | 2-D Polyline defining the Bottom surface |
nb_neigh | Size of neighborhood radius (for regularizing the angle calculation) |
flagMask | Mask if the target is outside the two polylines |
namconv | Naming convention |
int dbUnfoldPolyline | ( | Db * | db, |
const PolyLine2D & | polyline, | ||
const NamingConvention & | namconv | ||
) |
Unfold a 2-D Db with respect to a polyline
[in] | db | Db structure |
[in] | polyline | PolyLine2D structure |
[in] | namconv | Naming convention |
double distanceBetweenPolylines | ( | const PolyLine2D & | poly1, |
const PolyLine2D & | poly2, | ||
const PolyPoint2D & | pldist1, | ||
const PolyPoint2D & | pldist2 | ||
) |