![]() |
OGS
|
Implementation of the Polyline class.
Definition in file Polyline.cpp.
#include "Polyline.h"#include <algorithm>#include "AnalyticalGeometry.h"#include "BaseLib/Error.h"#include "BaseLib/Logging.h"#include "MathLib/GeometricBasics.h"#include "MathLib/MathTools.h"#include "PointVec.h"Go to the source code of this file.
Namespaces | |
| namespace | GeoLib |
Functions | |
| void | GeoLib::resetPointIDs (Polyline &polyline, std::vector< std::size_t > const &mapping) |
| Resets the point IDs of the polyline corresponding to the mapping. | |
| void | GeoLib::markUsedPoints (Polyline const &polyline, std::vector< bool > &used_points) |
| Resets the point IDs of the polyline corresponding to the mapping. | |
| bool | GeoLib::containsEdge (const Polyline &ply, std::size_t id0, std::size_t id1) |
| bool | GeoLib::operator== (Polyline const &lhs, Polyline const &rhs) |
| bool | GeoLib::pointsAreIdentical (const std::vector< Point * > &pnt_vec, std::size_t i, std::size_t j, double prox) |
| std::unique_ptr< Polyline > | GeoLib::createPolyline (GeoLib::PointVec const &points_vec, std::vector< std::size_t > &&point_ids) |
| Create a polyline from given point ids. | |