TheBoussinesqModel
3.2.1
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
Pages
geometry_io.h
Go to the documentation of this file.
1
2
/* BGEOMETRY BUILDS THE MESH FROM A RASTER FOR THE BOUSSINESQ MODEL
3
KeyPalette Version 0.9375 KMackenzie
4
5
file geometry_io.h
6
7
Copyright, 2009 Emanuele Cordano and Riccardo Rigon
8
9
This file is part of BGEOMETRY.
10
BGEOMETRY is free software: you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation, either version 3 of the License, or
13
(at your option) any later version.
14
15
BGEOMETRY is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
25
26
/* This functions create polygons and lines if the line or vertex indices are written in a string */
27
28
LINE
*
get_line
(
DOUBLEVECTOR
*vertex_x_coord,
DOUBLEVECTOR
*vertex_y_coord,
long
line_index,
char
*number_strings,
short
print);
29
30
LINEVECTOR
*
get_linevector
(
DOUBLEVECTOR
*vertex_x_coord,
DOUBLEVECTOR
*vertex_y_coord,
STRINGBIN
*line_strings ,
short
print);
31
32
33
34
POLYGON
*
get_polygon
(
long
index,
double
x,
double
y,
double
z,
char
*edge_index_string,
LINEVECTOR
*all_lines,
short
print);
35
36
POLYGONVECTOR
*
get_polygonvector
(
DOUBLEVECTOR
*centroid_x_coord,
DOUBLEVECTOR
*centroid_y_coord,
STRINGBIN
*polygon_strings ,
LINEVECTOR
*all_lines,
short
print);
37
38
/* end This functions create polugons and lines if the line or vertex indices are written in a string */
39
40
LINEVECTOR
*
extract_linvector_from_linevector
(
LONGVECTOR
*nlines,
LINEVECTOR
*lines);
41
42
int
write_linevector
(
char
*filename,
LINEVECTOR
*lines);
43
int
fprint_linevector
(
char
*filename,
LINEVECTOR
*lines);
44
int
write_polygonvector
(
char
*filename,
POLYGONVECTOR
*polygons);
45
int
fprint_polygonvector
(
char
*filename,
POLYGONVECTOR
*polygons);
BGEOMETRY
geometry_io.h
Generated on Wed Jun 5 2013 10:08:44 for TheBoussinesqModel by
1.8.4