7#include <vtkUnstructuredGrid.h>
10#include <range/v3/view/enumerate.hpp>
37 vtkUnstructuredGrid* grid,
38 Eigen::MatrixX3d
const& realcoords,
39 Eigen::VectorXd
const& free_fraction,
51 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.