FORCES
FORtran lib for Comp. Env. Sys.
|
Area of polygon. More...
Public Member Functions | |
real(sp) function | areapoly_sp (coord) |
Area of polygon. | |
real(dp) function | areapoly_dp (coord) |
Area of polygon. | |
Area of polygon.
Function for computing the area of a polygon (2D, convex or not). Function for computing the area of a polygon The polygon can be convex or not.
The method is only applicable for 2D polygons and points.
Example
See also example in test directory.
Literature
[in] | coord | coordinates of the polygon in question |
Definition at line 31 of file mo_poly.f90.
real(dp) function mo_poly::areapoly::areapoly_dp | ( | real(dp), dimension(:,:), intent(in) | coord | ) |
Area of polygon.
Function for computing the area of a polygon (2D, convex or not). Function for computing the area of a polygon The polygon can be convex or not.
The method is only applicable for 2D polygons and points.
Example
See also example in test directory.
Literature
[in] | coord | coordinates of the polygon in question |
Definition at line 487 of file mo_poly.f90.
real(sp) function mo_poly::areapoly::areapoly_sp | ( | real(sp), dimension(:,:), intent(in) | coord | ) |
Area of polygon.
Function for computing the area of a polygon (2D, convex or not). Function for computing the area of a polygon The polygon can be convex or not.
The method is only applicable for 2D polygons and points.
Example
See also example in test directory.
Literature
[in] | coord | coordinates of the polygon in question |
Definition at line 112 of file mo_poly.f90.