43 #ifdef RINGMESH_WITH_GRAPHICS 52 template < index_t DIMENSION >
53 GeoModelGfxBase< DIMENSION >::GeoModelGfxBase(
54 GeoModelGfx< DIMENSION >& gfx )
55 : corners( gfx ), lines( gfx ), surfaces( gfx ), attribute( gfx )
59 template < index_t DIMENSION >
60 void GeoModelGfxBase< DIMENSION >::set_geomodel(
61 const GeoModel< DIMENSION >& geomodel )
63 geomodel_ = &geomodel;
67 template < index_t DIMENSION >
68 const GeoModel< DIMENSION >* GeoModelGfxBase< DIMENSION >::geomodel()
const 73 template < index_t DIMENSION >
74 void GeoModelGfxBase< DIMENSION >::initialize()
79 surfaces.initialize();
82 template < index_t DIMENSION >
83 GeoModelGfx< DIMENSION >::GeoModelGfx()
84 : GeoModelGfxBase< DIMENSION >( *this )
88 GeoModelGfx< 3 >::GeoModelGfx()
89 : GeoModelGfxBase< 3 >( *this ), regions( *this )
93 void GeoModelGfx< 3 >::initialize()
95 GeoModelGfxBase3D::initialize();
99 template class RINGMESH_API GeoModelGfxBase< 2 >;
100 template class RINGMESH_API GeoModelGfx< 2 >;
102 template class RINGMESH_API GeoModelGfxBase< 3 >;
#define ringmesh_assert(x)
Classes to build GeoModel from various inputs.