Abstract base class for Simplex_geom exposing the dimensionality-independent functionality.
More...
#include <Simplex_geom.hpp>
Classes | |
| struct | Intersections |
Public Member Functions | |
| virtual void | visualize (std::string format, std::string file_name)=0 |
| Writes geometry to a visualization file with the specified name + file extension. | |
| virtual Intersections | simplex_intersections (Mat<> point0, Mat<> point1)=0 |
Public Member Functions inherited from hexed::Surface_geom | |
| virtual Nearest_point< dyn > | nearest_point (Mat<> point, double max_distance=huge, double distance_guess=huge)=0 |
Computes the point on the surface which is nearest to point within max_distance. | |
| virtual std::vector< double > | intersections (Mat<> point0, Mat<> point1)=0 |
| Computes the set of intersection points between a line and the surface. | |
Static Public Member Functions | |
| static std::string | performance_report () |
if compiled with HEXED_OBSESSIVE_TIMING ON, return a performance report. Otherwise, empty string. | |
Abstract base class for Simplex_geom exposing the dimensionality-independent functionality.
|
pure virtual |
Writes geometry to a visualization file with the specified name + file extension.
Only for 3D. For 2D, does nothing.
Implemented in hexed::Simplex_geom< n_dim >.