FORCES
FORtran lib for Comp. Env. Sys.
|
Polygon calculations. More...
Go to the source code of this file.
Data Types | |
interface | mo_poly::areapoly |
Area of polygon. More... | |
interface | mo_poly::center_of_mass |
Center of mass of polygon. More... | |
interface | mo_poly::inpoly |
Determination point of polygon. More... | |
interface | mo_poly::orientpoly |
Check orientation of polygon. More... | |
interface | mo_poly::mod_pole |
Modify polygon so it covers pole correctly. More... | |
interface | mo_poly::mod_shift |
Shifts the (longitude) value 180 degrees. More... | |
Modules | |
module | mo_poly |
Polygon calculations. | |
Functions/Subroutines | |
real(sp) function | mo_poly::areapoly_sp (coord) |
Area of polygon. | |
real(sp) function, dimension(2) | mo_poly::center_of_mass_sp (coord) |
Center of mass of polygon. | |
subroutine | mo_poly::inpoly_sp (p, coord, erg) |
Determination point of polygon. | |
integer(i4) function | mo_poly::orientpoly_sp (coord) |
Check orientation of polygon. | |
real(sp) function, dimension(:,:), allocatable | mo_poly::mod_pole_sp (coord, meridian_arg) |
Modify polygon so it covers pole correctly. | |
elemental real(sp) function | mo_poly::mod_shift_sp (x_coord, meridian_arg) |
Shifts the (longitude) value 180 degrees. | |
real(dp) function | mo_poly::areapoly_dp (coord) |
Area of polygon. | |
real(dp) function, dimension(2) | mo_poly::center_of_mass_dp (coord) |
Center of mass of polygon. | |
subroutine | mo_poly::inpoly_dp (p, coord, erg) |
Determination point of polygon. | |
integer(i4) function | mo_poly::orientpoly_dp (coord) |
Check orientation of polygon. | |
real(dp) function, dimension(:,:), allocatable | mo_poly::mod_pole_dp (coord, meridian_arg) |
Modify polygon so it covers pole correctly. | |
elemental real(dp) function | mo_poly::mod_shift_dp (x_coord, meridian_arg) |
Shifts the (longitude) value 180 degrees. | |
Polygon calculations.
This module determines wether a 2D point lies inside, outside, or on the vertice/edge of a 2D polygon and is part of the UFZ CHS Fortran library.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. Definition in file mo_poly.f90.