0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_poly::orientpoly Interface Reference

Check orientation of polygon. More...

Public Member Functions

integer(i4) function orientpoly_sp (coord)
 Check orientation of polygon.
 
integer(i4) function orientpoly_dp (coord)
 Check orientation of polygon.
 

Detailed Description

Check orientation of polygon.

Function for checking the orientation of a polygon (2D, convex or not).

Returns
Integer indicating orientation (counter-clockwise: -1, clockwise: 1, none: 0)
Parameters
[in]coordcoordinates of the polygon in question

Definition at line 55 of file mo_poly.f90.

Member Function/Subroutine Documentation

◆ orientpoly_dp()

integer(i4) function mo_poly::orientpoly::orientpoly_dp ( real(dp), dimension(:,:), intent(in)  coord)

Check orientation of polygon.

Function for checking the orientation of a polygon (2D, convex or not).

Returns
Integer indicating orientation (counter-clockwise: -1, clockwise: 1, none: 0)
Parameters
[in]coordcoordinates of the polygon in question

Definition at line 691 of file mo_poly.f90.

◆ orientpoly_sp()

integer(i4) function mo_poly::orientpoly::orientpoly_sp ( real(sp), dimension(:,:), intent(in)  coord)

Check orientation of polygon.

Function for checking the orientation of a polygon (2D, convex or not).

Returns
Integer indicating orientation (counter-clockwise: -1, clockwise: 1, none: 0)
Parameters
[in]coordcoordinates of the polygon in question

Definition at line 316 of file mo_poly.f90.


The documentation for this interface was generated from the following file: