#include <mesh_triangle_holes.h>
Public Member Functions | |
ArbitraryHole (const Point ¢er, const std::vector< Point > &points) | |
virtual unsigned int | n_points () const override |
virtual Point | point (const unsigned int n) const override |
virtual Point | inside () const override |
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 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.
Definition at line 69 of file mesh_triangle_holes.C.
|
overridevirtual |
Return an (arbitrary) point which lies inside the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 89 of file mesh_triangle_holes.C.
|
overridevirtual |
The number of geometric points which define the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 76 of file mesh_triangle_holes.C.
|
overridevirtual |
Return the nth point defining the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 82 of file mesh_triangle_holes.C.
|
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.