/* This file is part of the Neper software package. */
/* Copyright (C) 2003-2014, Romain Quey. */
/* See the COPYING file in the top-level directory. */

#include"net_flatten_gen_.h"

void
net_flatten_gen (struct TESS *Tess, struct TESS *pFTess,
		 struct FLATTEN *pFlatten)
{
  (*pFTess).Dim = 3;
  (*pFTess).Level = 1;
  (*pFTess).TessId = 1;
  (*pFTess).Type = ut_alloc_1d_char (10);
  strcpy ((*pFTess).Type, "standard");

  (*pFlatten).DVerQty = Tess[1].VerQty;
  (*pFlatten).DEdgeQty = Tess[1].EdgeQty;
  (*pFlatten).DFaceQty = Tess[1].FaceQty;
  (*pFlatten).DPolyQty = Tess[1].PolyQty;

  return;
}
