libMesh

Another concrete instantiation of the hole, this one should be sufficiently general for most nonpolygonal purposes. More...
#include <mesh_triangle_holes.h>
Public Member Functions  
ArbitraryHole (const Point ¢er, const std::vector< Point > &points)  
The constructor requires a point which lies in the interior of the hole and a reference to a vector of Points defining the hole. More...  
virtual unsigned int  n_points () const override 
The number of geometric points which define the hole. More...  
virtual Point  point (const unsigned int n) const override 
Return the nth point defining the hole. More...  
virtual Point  inside () const override 
Return an (arbitrary) point which lies inside the hole. More...  
Private Attributes  
Point  _center 
arbitrary (x,y) location inside the hole More...  
const std::vector< Point > &  _points 
Reference to the vector of points which makes up the hole. More...  
Another concrete instantiation of the hole, this one should be sufficiently general for most nonpolygonal purposes.
The user supplies, at the time of construction, a reference to a vector of Points which defines the hole (in order of connectivity) and an arbitrary Point which lies inside the hole.
Definition at line 126 of file mesh_triangle_holes.h.
libMesh::TriangleInterface::ArbitraryHole::ArbitraryHole  (  const Point &  center, 
const std::vector< Point > &  points  
) 
The constructor requires a point which lies in the interior of the hole and a reference to a vector of Points defining the hole.

overridevirtual 
Return an (arbitrary) point which lies inside the hole.
Implements libMesh::TriangleInterface::Hole.

overridevirtual 
The number of geometric points which define the hole.
Implements libMesh::TriangleInterface::Hole.

overridevirtual 
Return the nth point defining the hole.
Implements libMesh::TriangleInterface::Hole.

private 
arbitrary (x,y) location inside the hole
Definition at line 146 of file mesh_triangle_holes.h.

private 
Reference to the vector of points which makes up the hole.
Definition at line 152 of file mesh_triangle_holes.h.