lxml.c File Reference


Detailed Description

LandXML read lxml_.

=====================================================
Liste_Funktionen_Beginn:

lxml_read        Load LandXML-File
lxml_r_pt        load & save point
lxml_r_savPt     save point pt1 > LM_pTab
lxml_r_fac       load & save a face
lxml_r_savFace

Liste_Funktionen_Ende:
=====================================================

1) Alle Points (<Pnts>) einlesen und (binaer) in eine Datei ausgeben.
   OutFilename: M#A#.ptab

2) Alle Faces (<Faces>) einlesen und (binaer) in eine Datei ausgeben.
   OutFilename: M#A#.msh
           

==================================================================
Format LandXML:

<?xml version="1.0"?>
<LandXML xmlns ....>
..
<Surfaces>
  <Surface name="DGM1" desc="">
  <Definition surfType="TIN"
    area2DSurf="133628894.82049094" area3DSurf="142664100.79739568"
    elevMax="2533.840903081" elevMin="558.850769790297">
  <Pnts>
  <P id="1">-6351.233348619727 -1364.528376596871 1494.969407343888</P>
  <P id="2">-6288.107595301287 -1258.113074824959 1502.359063393669</P>
  </Pnts>
  <Faces>
  <F n="90 18 84">9971 10073 10072</F>
  <F n="8601 8593 8595">2526 2527 2628</F>
  </Faces>
  </Definition>
  </Surface>
  </Surfaces>
</LandXML>


==================================================================

#include "../xa/MS_Def0.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_umem.h"
#include "../ut/ut_memTab.h"
#include "../gr/ut_UI.h"
#include "../xa/xa_mem.h"

Defines

#define inc_pTab   25000
#define inc_fTab   25000

Functions

 typedef_MemTab (int)
 typedef_MemTab (Point)
 typedef_MemTab (Fac3)
 typedef_MemTab (EdgeLine)
static MemTab (Point)
int lxml_r_pt (char *lBuf)
int lxml_r_savPt (int id, Point *pt1)
int lxml_r_fac (char *lBuf)
int lxml_r_savFace (int mode, Fac3 *fc1)


Define Documentation

#define inc_pTab   25000

#define inc_fTab   25000


Function Documentation

typedef_MemTab ( int   ) 

typedef_MemTab ( Point   ) 

typedef_MemTab ( Fac3   ) 

typedef_MemTab ( EdgeLine   ) 

static MemTab ( Point   )  [static]

int lxml_r_pt ( char *  lBuf  ) 

int lxml_r_savPt ( int  id,
Point pt1 
)

int lxml_r_fac ( char *  lBuf  ) 

int lxml_r_savFace ( int  mode,
Fac3 fc1 
)


Generated on Sat May 30 09:31:54 2009 for gCAD3D by  doxygen 1.5.6