$extrastylesheet
#include <mesh_triangle_holes.h>

Public Member Functions | |
| ArbitraryHole (const Point ¢er, const std::vector< Point > &points) | |
| virtual unsigned int | n_points () const |
| virtual Point | point (const unsigned int n) const |
| virtual Point | inside () const |
Private Attributes | |
| Point | _center |
| const std::vector< Point > & | _points |
Another concrete instantiation of the hole, this one should be sufficiently general for most non-polygonal 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 122 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.
Definition at line 68 of file mesh_triangle_holes.C.
| Point libMesh::TriangleInterface::ArbitraryHole::inside | ( | ) | const [virtual] |
Return an (arbitrary) point which lies inside the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 88 of file mesh_triangle_holes.C.
{
return _center;
}
| unsigned int libMesh::TriangleInterface::ArbitraryHole::n_points | ( | ) | const [virtual] |
The number of geometric points which define the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 75 of file mesh_triangle_holes.C.
{
return _points.size();
}
| Point libMesh::TriangleInterface::ArbitraryHole::point | ( | const unsigned int | n | ) | const [virtual] |
Return the nth point defining the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 81 of file mesh_triangle_holes.C.
arbitrary (x,y) location inside the hole
Definition at line 142 of file mesh_triangle_holes.h.
const std::vector<Point>& libMesh::TriangleInterface::ArbitraryHole::_points [private] |
Reference to the vector of points which makes up the hole.
Definition at line 148 of file mesh_triangle_holes.h.