OGS
MapBulkElementPoint.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "MathLib/WeightedPoint.h"
15 
16 namespace MeshLib
17 {
22 
31  MeshLib::CellType const bulk_element_cell_type,
32  std::size_t const bulk_face_id,
33  MathLib::WeightedPoint const& point_on_face);
34 
37  MeshLib::Element const& bulk_element,
38  std::size_t const bulk_face_id,
39  MathLib::WeightedPoint const& point_on_face)
40 {
41  return getBulkElementPoint(
42  bulk_element.getCellType(), bulk_face_id, point_on_face);
43 }
44 } // namespace MeshLib
Definition of the Element class.
virtual CellType getCellType() const =0
MathLib::Point3d getBulkElementPoint(MeshLib::CellType const bulk_element_cell_type, std::size_t const bulk_face_id, MathLib::WeightedPoint const &point_on_face)
CellType
Types of mesh elements supported by OpenGeoSys.
Definition: MeshEnums.h:43