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

Public Member Functions

 Circle (const Vector2d &c, const double r)
 
 Circle (const TopoOffsetTriMesh &mesh, const size_t f_id)
 
double radius () const
 get radius of circle
 
Vector2d center () const
 get center of circle
 
void refine (std::queue< Circle > &q) const
 add refinements of circle to given queue
 
bool overlaps_tri (const TopoOffsetTriMesh &mesh, const size_t f_id) const
 check if circle overlaps given triangle
 

Static Public Member Functions

static void fit_square (const Vector2d &p1, const Vector2d &p2, const Vector2d &p3, Vector2d &c, double &l)
 given 2D triangle, fit square to triangle (return center and side length)
 

Private Attributes

Vector2d m_c
 
double m_r
 

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