22 _printf_(
" [segments]=MeshProfileIntersection(index,x,y,filename);\n");
25 _printf_(
" index,x,y is a triangulation\n");
26 _printf_(
" filename: name of Argus style .exp file containing the segments (can be groups of disconnected segments)\n");
28 _printf_(
" segments: array made of x1,y1,x2,y2,element_id lines (x1,y1) and (x2,y2) are segment extremities for a segment \n");
29 _printf_(
" belonging to the elemnt_id element. there are as many lines in segments as there are segments intersecting the \n");
38 double *double_index = NULL;
53 double* segments=NULL;
64 FetchData(&double_index,&nel,&dummy,INDEX);
65 if(dummy!=3 && dummy!=6)
_error_(
"element triangulation should be of 3 or 6 column width!");
66 index=xNew<int>(nel*3);
69 *(index+3*i+j)=(
int)*(double_index+dummy*i+j)-1;
79 numcontours=domain->
Size();
80 contours=xNew<Contour<double>*>(numcontours);
81 for(i=0;i<numcontours;i++)
91 xDelete<double>(double_index);
97 xDelete<double>(segments);