libMesh
|
Another concrete instantiation of the hole, this one should be sufficiently general for most non-polygonal 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... | |
ArbitraryHole (const Point ¢er, const std::vector< Point > &points, const std::vector< unsigned int > &segment_indices) | |
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... | |
virtual std::vector< unsigned int > | segment_indices () const override |
Starting indices of points for a hole with multiple disconnected boundaries. More... | |
Private Attributes | |
const 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... | |
std::vector< unsigned int > | _segment_indices |
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 142 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 66 of file mesh_triangle_holes.C.
References _segment_indices.
libMesh::TriangleInterface::ArbitraryHole::ArbitraryHole | ( | const Point & | center, |
const std::vector< Point > & | points, | ||
const std::vector< unsigned int > & | segment_indices | ||
) |
Definition at line 75 of file mesh_triangle_holes.C.
|
overridevirtual |
Return an (arbitrary) point which lies inside the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 96 of file mesh_triangle_holes.C.
|
overridevirtual |
The number of geometric points which define the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 83 of file mesh_triangle_holes.C.
|
overridevirtual |
Return the nth point defining the hole.
Implements libMesh::TriangleInterface::Hole.
Definition at line 89 of file mesh_triangle_holes.C.
|
overridevirtual |
Starting indices of points for a hole with multiple disconnected boundaries.
Reimplemented from libMesh::TriangleInterface::Hole.
Definition at line 101 of file mesh_triangle_holes.C.
|
private |
arbitrary (x,y) location inside the hole
Definition at line 168 of file mesh_triangle_holes.h.
|
private |
Reference to the vector of points which makes up the hole.
Definition at line 174 of file mesh_triangle_holes.h.
|
private |
Definition at line 176 of file mesh_triangle_holes.h.
Referenced by ArbitraryHole().