12#include <vtkUnstructuredGrid.h>
15#include <range/v3/view/enumerate.hpp>
42 vtkUnstructuredGrid* grid,
43 Eigen::MatrixX3d
const& realcoords,
44 Eigen::VectorXd
const& free_fraction,
56 std::vector<std::vector<IntersectionResult>>
const& anchor_coords,
std::vector< std::vector< IntersectionResult > > getOrderedAnchorCoords(vtkUnstructuredGrid *grid, Eigen::MatrixX3d const &realcoords, Eigen::VectorXd const &free_fraction, double const tol)
Finds intersection points of a line segment with the cells of a vtkUnstructuredGrid....
AU::ComputeNaturalCoordsResult setPhysicalPropertiesForIntersectionPoints(std::vector< std::vector< IntersectionResult > > const &anchor_coords, AU::ComputeNaturalCoordsResult const &original_anchor_data)
fills the physical properties of the intersection points based on the original anchor data.
Result of an intersection of a line with a cell.