libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::TriangulatorInterface::Region Class Reference

A class for defining a 2-dimensional region for Triangle. More...

#include <mesh_triangle_holes.h>

Public Member Functions

 Region (const Point &center, Real attribute=0, Real max_area=-std::numeric_limits< Real >::max())
 Constructor. More...
 
Point inside () const
 
Real attribute () const
 
Real max_area () const
 

Private Attributes

const Point _center
 Arbitrary (x,y) location inside the region. More...
 
Real _attribute
 Attribute of the region Default value for attribute is zero. More...
 
Real _max_area
 Maximum area that is allowed for all triangles in this region Default negative maximum area means that no area constraint will be imposed. More...
 

Detailed Description

A class for defining a 2-dimensional region for Triangle.

Definition at line 394 of file mesh_triangle_holes.h.

Constructor & Destructor Documentation

◆ Region()

libMesh::TriangulatorInterface::Region::Region ( const Point center,
Real  attribute = 0,
Real  max_area = -std::numeric_limits<Real>::max() 
)
inline

Constructor.

Definition at line 400 of file mesh_triangle_holes.h.

403  : _center(center),
405  _max_area(max_area) {}
const Point _center
Arbitrary (x,y) location inside the region.
Real _attribute
Attribute of the region Default value for attribute is zero.
Real _max_area
Maximum area that is allowed for all triangles in this region Default negative maximum area means tha...

Member Function Documentation

◆ attribute()

Real libMesh::TriangulatorInterface::Region::attribute ( ) const
inline

Definition at line 409 of file mesh_triangle_holes.h.

References _attribute.

409 { return _attribute; }
Real _attribute
Attribute of the region Default value for attribute is zero.

◆ inside()

Point libMesh::TriangulatorInterface::Region::inside ( ) const
inline

Definition at line 407 of file mesh_triangle_holes.h.

References _center.

407 { return _center; }
const Point _center
Arbitrary (x,y) location inside the region.

◆ max_area()

Real libMesh::TriangulatorInterface::Region::max_area ( ) const
inline

Definition at line 411 of file mesh_triangle_holes.h.

References _max_area.

411 { return _max_area; }
Real _max_area
Maximum area that is allowed for all triangles in this region Default negative maximum area means tha...

Member Data Documentation

◆ _attribute

Real libMesh::TriangulatorInterface::Region::_attribute
private

Attribute of the region Default value for attribute is zero.

Definition at line 423 of file mesh_triangle_holes.h.

Referenced by attribute().

◆ _center

const Point libMesh::TriangulatorInterface::Region::_center
private

Arbitrary (x,y) location inside the region.

Definition at line 417 of file mesh_triangle_holes.h.

Referenced by inside().

◆ _max_area

Real libMesh::TriangulatorInterface::Region::_max_area
private

Maximum area that is allowed for all triangles in this region Default negative maximum area means that no area constraint will be imposed.

Definition at line 429 of file mesh_triangle_holes.h.

Referenced by max_area().


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