Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
wmtk::components::topological_offset::Sphere Class Reference

Public Member Functions

 Sphere (const Vector3d &c, const double r)
 
 Sphere (const TopoOffsetTetMesh &mesh, const size_t t_id)
 
double radius () const
 get radius of sphere
 
Vector3d center () const
 get center of sphere
 
void refine (std::queue< Sphere > &q) const
 add refinements of sphere to given queue
 
bool overlaps_tet (const TopoOffsetTetMesh &mesh, const size_t t_id) const
 check if a sphere overlaps given tet
 

Static Public Member Functions

static void fit_cube (const Vector3d &p1, const Vector3d &p2, const Vector3d &p3, const Vector3d &p4, Vector3d &c, double &l)
 given 3D tet, fit cube to tet (return center and side length)
 

Private Attributes

Vector3d m_c
 
double m_r
 

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