TheBoussinesqModel
3.2.1
|
#include "turtle.h"
#include "geometry.h"
#include "geometry_utilities.h"
#include "geometry_freememory.h"
Go to the source code of this file.
Functions | |
POINT * | new_point (long index, double x, double y, double z) |
LINE * | new_line_from_points (long index, POINT *P1, POINT *P2) |
LINEVECTOR * | new_linevector (long nh) |
POLYGONVECTOR * | new_polygonvector (long nh) |
POLYGON * | new_polygon_from_a_linevector (LINEVECTOR *lines, POINT *centroid) |
index - (long) line index
Definition at line 62 of file geometry.c.
References LINE::begin, distance2D(), LINE::end, POINT::index, LINE::index, LINE::length2d, new_point(), t_error(), POINT::x, POINT::y, and POINT::z.
Referenced by extract_linvector_from_linevector(), get_line(), new_horizontal_line_from_raster(), new_line_from_line(), new_vertical_line_from_raster(), and read_linevector().
LINEVECTOR* new_linevector | ( | long | nh) |
Definition at line 94 of file geometry.c.
References LINEVECTOR::element, isDynamic, LINEVECTOR::isdynamic, LINEVECTOR::nh, NL, LINEVECTOR::nl, NR_END, and t_error().
Referenced by extract_linvector_from_linevector(), get_linevector(), get_linevector_from_raster_grid(), new_linevector_from_linevector(), and read_linevector().
POINT* new_point | ( | long | index, |
double | x, | ||
double | y, | ||
double | z | ||
) |
BGEOMETRY BUILDS THE MESH FROM A RASTER FOR THE BOUSSINESQ MODEL
KeyPalette Version 0.9375 KMackenzie
file geometry.c
Copyright, 2009 Emanuele Cordano and Riccardo Rigon
This file is part of BGEOMETRY. BGEOMETRY is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
BGEOMETRY is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
index | - (long) point index |
x | - (double) x coordinate |
y | - (doulbe) y coordinate |
z | - (double) z coordinate |
Definition at line 29 of file geometry.c.
References POINT::index, t_error(), POINT::x, POINT::y, and POINT::z.
Referenced by get_line(), get_polygon(), new_line_from_points(), new_point_from_point(), new_point_from_raster(), new_polygon_from_a_linevector(), read_linevector(), and read_polygon().
POLYGON* new_polygon_from_a_linevector | ( | LINEVECTOR * | lines, |
POINT * | centroid | ||
) |
lines | - (LINEVECTOR *) a vector of lines |
centrod | - (POINT *) the centroid of the polygon |
Definition at line 145 of file geometry.c.
References POLYGON::area2D, area2d(), LINE::begin, POLYGON::centroid, POLYGON::edge_indices, LINEVECTOR::element, LINE::end, free_longvector(), POINT::index, LINE::index, POLYGON::index, new_longvector(), new_point(), LINEVECTOR::nh, LINEVECTOR::nl, query_freq_longvector(), segment_intersection_occurence(), t_error(), POINT::x, POINT::y, and POINT::z.
Referenced by get_polygon(), and new_pixel_from_raster().
POLYGONVECTOR* new_polygonvector | ( | long | nh) |
Definition at line 119 of file geometry.c.
References POLYGONVECTOR::element, isDynamic, POLYGONVECTOR::isdynamic, POLYGONVECTOR::nh, NL, POLYGONVECTOR::nl, NR_END, and t_error().
Referenced by get_polygonvector(), get_polygonvector_from_raster(), new_polygonvector_from_polygonvector(), and read_polygonvector().