Main Page | Class List | File List | Class Members | Examples

examples/torus.cpp

/* library includes */
#include <geom/BSplineSurface.h>
#include <geom/EntityList.h>

/* local declarations */
using namespace GE;


int main (int argc, char **argv)
{
  EntityList<Entity>            entityList;
  BSplineSurface                *bSplineSurface = NULL;
  GE::EntityList<Entity>        entityList1;
  GE::BSplineSurface            *bSplineSurface1 = NULL;
  GE::BSplineSurface            bSplineSurface2;
  
  // These do not get linked
  entityList.Append_Entity (bSplineSurface);
  bsplineSurface->Change_Rational (TRUE);
  
  // These DO get linked
  entityList1.Append_Entity (bSplineSurface1);
  bSplineSurface2.Change_Rational (TRUE);

  // This does NOT get linked
  bsplineSurface1->Change_Rational (TRUE);
  
  return (ReturnCode);
}

Generated on Tue May 31 15:11:35 2005 by  doxygen 1.4.3-20050530