src/Boundary/FacetedVolumeBoundary.cc
//------------------------------------------------------------------------------
// Construct the plane associated with a Facet
//------------------------------------------------------------------------------
// 2D
Construct the plane associated with a Facet
2D
Construct the plane associated with a Facet 2D
GeomPlane<Dim<2>>
facetPlane(const GeomFacet2d& facet, const bool interiorBoundary) {
  const auto& p1 = facet.point1();
  const auto  nhat = (interiorBoundary ?
                       facet.normal() :
                      -facet.normal());
  return GeomPlane<Dim<2>>(p1, nhat);
}
GeomPlane < Dim < 2 > > facetPlane ( const GeomFacet2d & facet , const bool interiorBoundary ) { const auto & p1 = facet . point1 ( ) ; const auto nhat = ( interiorBoundary ? facet . normal ( ) : - facet . normal ( ) ) ; return GeomPlane < Dim < 2 > > ( p1 , nhat ) ; }
Construct the plane associated with a Facet
2D
Construct the plane associated with a Facet 2D