61 template < index_t DIMENSION >
70 virtual bool is_on_voi()
const = 0;
71 virtual bool is_valid()
const = 0;
77 const std::string&
name()
const 99 : geomodel_( geomodel ), id_( id )
107 virtual bool is_index_valid()
const = 0;
113 std::string name_ = std::string{
"Unnamed" };
116 index_t id_{ NO_ID };
GeoModelEntity(const GeoModel< DIMENSION > &geomodel, index_t id)
#define ringmesh_disable_copy_and_move(Class)
const GeoModel< DIMENSION > & geomodel() const
void copy_name(const GeoModelEntity< DIMENSION > &from)
#define ringmesh_template_assert_2d_or_3d(type)
const std::string & name() const
const GeoModel< DIMENSION > & geomodel_
Reference to the GeoModel owning this entity.
Classes to build GeoModel from various inputs.
Abstract base class describing one entity of a GeoModel.
FORWARD_DECLARATION_DIMENSION_CLASS(GeoModelMeshEntityAccess)
std::string name_
Name of the entity - default is "Unnamed".