OGS
GeoMapper.cpp File Reference

Detailed Description

Implementation of the GeoMapper class.

Author
Karsten Rink
Date
2012-09-25

Definition in file GeoMapper.cpp.

#include "GeoMapper.h"
#include <algorithm>
#include <numeric>
#include <sstream>
#include "BaseLib/Algorithm.h"
#include "BaseLib/Logging.h"
#include "GeoLib/AABB.h"
#include "GeoLib/AnalyticalGeometry.h"
#include "GeoLib/GEOObjects.h"
#include "GeoLib/Raster.h"
#include "GeoLib/StationBorehole.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/Elements/FaceRule.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/MeshSearch/MeshElementGrid.h"
#include "MeshLib/Node.h"
#include "MeshToolsLib/MeshSurfaceExtraction.h"
Include dependency graph for GeoMapper.cpp:

Go to the source code of this file.

Namespaces

namespace  MeshGeoToolsLib
 

Functions

static MeshLib::Element const * MeshGeoToolsLib::findElementContainingPointXY (std::vector< MeshLib::Element const * > const &elements, MathLib::Point3d const &p)
 
static std::vector< MathLib::Point3dMeshGeoToolsLib::computeElementSegmentIntersections (MeshLib::Element const &elem, GeoLib::LineSegment const &segment)
 
static std::vector< GeoLib::LineSegmentMeshGeoToolsLib::createSubSegmentsForElement (std::vector< MathLib::Point3d > const &intersections, MeshLib::Element const *const beg_elem, MeshLib::Element const *const end_elem, MathLib::Point3d const &beg_pnt, MathLib::Point3d const &end_pnt, MeshLib::Element const *const elem)
 
static std::vector< GeoLib::LineSegmentMeshGeoToolsLib::mapLineSegment (GeoLib::LineSegment const &segment, std::vector< MeshLib::Element const * > const &surface_elements, MeshLib::Element const *const beg_elem, MeshLib::Element const *const end_elem)
 
static void MeshGeoToolsLib::mapPointOnSurfaceElement (MeshLib::Element const &elem, MathLib::Point3d &q)
 
static std::vector< MeshLib::Element const * > MeshGeoToolsLib::getCandidateElementsForLineSegmentIntersection (MeshLib::MeshElementGrid const &mesh_element_grid, GeoLib::LineSegment const &segment)
 
static bool MeshGeoToolsLib::snapPointToElementNode (MathLib::Point3d &p, MeshLib::Element const &elem, double rel_eps)
 
static void MeshGeoToolsLib::insertSubSegments (GeoLib::Polyline &ply, GeoLib::PointVec &points, GeoLib::Polyline::SegmentIterator &segment_it, std::vector< GeoLib::LineSegment > const &sub_segments)
 
static void MeshGeoToolsLib::mapPolylineOnSurfaceMesh (GeoLib::Polyline &ply, GeoLib::PointVec &orig_points, MeshLib::MeshElementGrid const &mesh_element_grid)