hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Simplex_geom_nd Class Referenceabstract

Abstract base class for Simplex_geom exposing the dimensionality-independent functionality. More...

#include <Simplex_geom.hpp>

Inheritance diagram for hexed::Simplex_geom_nd:
hexed::Surface_geom hexed::Simplex_geom< n_dim >

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< dynnearest_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.
 

Detailed Description

Abstract base class for Simplex_geom exposing the dimensionality-independent functionality.

Member Function Documentation

◆ visualize()

virtual void hexed::Simplex_geom_nd::visualize ( std::string format,
std::string file_name )
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 >.


The documentation for this class was generated from the following file: