Defines a facet of a surface of the domain.  
 More...
#include <ptems/domaindefinition.hpp>
Defines a facet of a surface of the domain. 
◆ Polygon
A polygon defined using a list of indices of the points defining the boundary of the polygon. 
 
 
◆ Facet() [1/4]
Constructs a facet as a list of indices of the vertices making up the facet. 
- Parameters
- 
  
    | vertices | List of indices for the vertices |  
 
- Exceptions
- 
  
  
 
 
◆ Facet() [2/4]
Constructs a facet as a list of indices of the vertices making up the facet. 
- Parameters
- 
  
    | vertices | List of indices for the vertices |  
 
- Exceptions
- 
  
  
 
 
◆ Facet() [3/4]
template<typename It > 
  
  | 
        
          | ptems::DomainDefinition3D::Facet::Facet | ( | It | begin, |  
          |  |  | It | end |  
          |  | ) |  |  |  | inline | 
 
Constructs a facet as a list of indices of the vertices making up the facet. 
- Parameters
- 
  
    | begin | Start iterator to list of indices for the vertices |  | end | End iterator to list of indices for the vertices |  
 
- Exceptions
- 
  
  
 
 
◆ Facet() [4/4]
Constructs a facet as a list of indices of the vertices making up the facet. 
- Parameters
- 
  
    | vertices | List of indices for the vertices |  
 
- Exceptions
- 
  
  
 
 
◆ AddHole() [1/4]
  
  | 
        
          | void ptems::DomainDefinition3D::Facet::AddHole | ( | const Polygon & | points | ) |  |  | inline | 
 
Adds a hole into the facet. 
- Warning
- The path defined by the points MUST NOT intersect with itself, another hole, or the boundary of the domain. No checks are made to ensure this condition is met. Using a domain with a self-intersecting hole, holes which intersect, or holes intersecting the boundary is undefined behaviour.
- Exceptions
- 
  
  
- Parameters
- 
  
    | points | List of vertices defining the boundary of the hole. |  
 
 
 
◆ AddHole() [2/4]
Adds a hole into the facet. 
- Warning
- The path defined by the points MUST NOT intersect with itself, another hole, or the boundary of the domain. No checks are made to ensure this condition is met. Using a domain with a self-intersecting hole, holes which intersect, or holes intersecting the boundary is undefined behaviour.
- Exceptions
- 
  
  
- Parameters
- 
  
    | points | List of vertices defining the boundary of the hole. |  
 
 
 
◆ AddHole() [3/4]
template<typename It > 
  
  | 
        
          | void ptems::DomainDefinition3D::Facet::AddHole | ( | It | begin, |  
          |  |  | It | end |  
          |  | ) |  |  |  | inline | 
 
Adds a hole into the facet. 
- Warning
- The path defined by the points MUST NOT intersect with itself, another hole, or the boundary of the domain. No checks are made to ensure this condition is met. Using a domain with a self-intersecting hole, holes which intersect, or holes intersecting the boundary is undefined behaviour.
- Exceptions
- 
  
  
- Template Parameters
- 
  
  
- Parameters
- 
  
    | begin | Start iterator for list of vertices defining the boundary of the hole |  | end | End iterator for list of vertices defining the boundary of the hole |  
 
 
 
◆ AddHole() [4/4]
  
  | 
        
          | void ptems::DomainDefinition3D::Facet::AddHole | ( | Polygon && | points | ) |  |  | inline | 
 
Adds a hole into the facet. 
- Warning
- The path defined by the points MUST NOT intersect with itself, another hole, or the boundary of the domain. No checks are made to ensure this condition is met. Using a domain with a self-intersecting hole, holes which intersect, or holes intersecting the boundary is undefined behaviour.
- Exceptions
- 
  
  
- Parameters
- 
  
    | points | List of vertices defining the boundary of the hole. |  
 
 
 
◆ Boundary()
  
  | 
        
          | const Polygon& ptems::DomainDefinition3D::Facet::Boundary | ( |  | ) | const |  | inline | 
 
Gets the indices of the vertices defining the facet boundary. 
- Returns
- List of indices of vertices of the boundary of the facet. 
 
 
◆ Holes()
Gets the list of holes in the facet. 
- Returns
- List of holes, each hole is a list of indices of the vertices denoting the boundary of the hole. 
 
 
The documentation for this class was generated from the following file:
- ptems/domaindefinition.hpp