/* ../xa/test_EDMPT.c

Model:  test_EDMPT1.gcad test_CVED1.gcad
*/

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#include "../ut/ut_geo.h"              // Point ...
// #include "../ut/ut_geo_const.h"        // UT3D_CCV_NUL
#include "../ut/ut_memTab.h"           // MemTab_..
#include "../ut/ut_itmsh.h"            // MSHIG_EDGLN_.. typedef_MemTab.. Fac3
#include "../ut/ut_ox_base.h"          // OGX_SET_INDEX
#include "../gr/ut_DL.h"               // DL_find_obj
#include "../db/ut_DB.h"               // DB_GetObjGX
#include "../xa/xa_mem.h"              // memspc51, mem_cbuf1


// Externals aus ../xa/xa.c:
// extern char      AP_mod_fnam[128];
// extern Plane     WC_sur_act;            // die aktive Plane
extern int       WC_modact_ind;         // -1=primary Model is active;
                                        // else subModel is being created



//=========================================================
  int gCad_fini () {
//=========================================================

  return 0;

}


//=========================================================
  int gCad_main () {
//=========================================================

  int    typ;
  long   dbi, dli;


  TX_Print(">>>>>>>>> gCad_main test_EDMPT <<<<<<<<<<\n");

  // AP_debug__ ("test_EDMPT");


  // typ = Typ_PT; dbi = 25L;     // Link
  // typ = Typ_LN; dbi = 20L;
  // typ = Typ_CI; dbi = 20L;
  // typ = Typ_CVPOL; dbi = 21L;
  typ = Typ_CVBSP; dbi = 20L;
  // typ = Typ_PT; dbi = 27L;
  // typ = Typ_CVTRM; dbi = 22L;
  // typ = Typ_LN; dbi = 21L;
  // typ = Typ_LN; dbi = 22L;
  // typ = Typ_CVTRM; dbi = 24L;

  dli = DL_find_obj (typ, dbi, -1L);

  _EDMPT_init (typ, dbi, dli);

  // DL_Redraw ();

  // gCad_fini ();

  return 0;

}


// eof
