/* library includes */ #include <geom/BSplineSurface.h> #include <geom/EntityList.h> /* local declarations */ using namespace GE; class MyBSplineSurface: public Surface { public: MyBSplineSurface (); }; MyBSplineSurface::MyBSplineSurface () { } int main (int argc, char **argv) { EntityList<BSplineSurface> entityList; BSplineSurface *bSplineSurface = NULL; GE::EntityList<GE::BSplineSurface> entityList1; GE::BSplineSurface *bSplineSurface1 = NULL; GE::BSplineSurface bSplineSurface2; // These DO NOT get linked BSplineSurface::DoNothing1 (); BSplineSurface::DoNothing3 (); BSplineSurface::DoNothing4 (); BSplineSurface::DoNothing2 (); // These get linked GE::BSplineSurface::DoNothing1 (); GE::BSplineSurface::DoNothing3 (); GE::BSplineSurface::DoNothing4 (); GE::BSplineSurface::DoNothing2 (); // These get linked entityList.Append_Entity (bSplineSurface); bSplineSurface->Change_Rational (TRUE); // These get linked entityList1.Append_Entity (bSplineSurface1); bSplineSurface2.Change_Rational (TRUE); // These get linked bSplineSurface1->Change_Rational (TRUE); return (ReturnCode); }