DOUG 0.2
Data Types | Functions/Subroutines

Polygon_class Module Reference

Data Types

type  Polygon

Functions/Subroutines

type(Polygon), public Polygon_New (n)
subroutine, public Polygon_Destroy (p)
subroutine, public Polygon_Init (p, xc, yc, sorted, closed)
integer, public Polygon_getSize (p)
real(kind=xyzk), dimension(:),
pointer, public 
Polygon_getX (p)
real(kind=xyzk), dimension(:),
pointer, public 
Polygon_getY (p)
subroutine, public Polygon_sortVerts (p)
logical, public Polygon_isSorted (p)
subroutine, public Polygon_Close (p)
logical, public Polygon_isClosed (p)
real(kind=xyzk), public Polygon_Area (p)
type(Points2D), public Polygon_Centroid (p)
subroutine, public Polygon_pl2D_Plot (p, INIT_CONT_END)
subroutine, public Polygon_Print (p)

Function/Subroutine Documentation

real(kind=xyzk),public Polygon_class::Polygon_Area ( type(Polygon)  p)

Definition at line 412 of file Polygon.F90.

References not, Polygon_getSize(), Polygon_isClosed(), Polygon_isSorted(), and Polygon_sortVerts().

Referenced by Polygon_Centroid().

type(Points2D),public Polygon_class::Polygon_Centroid ( type(Polygon)  p)
subroutine,public Polygon_class::Polygon_Close ( type(Polygon),intent(inout)  p)

Definition at line 366 of file Polygon.F90.

References Points2D_class::Points2D_resizePreserve(), and Polygon_isClosed().

Referenced by Polygon_pl2D_Plot().

subroutine,public Polygon_class::Polygon_Destroy ( type(Polygon)  p)

Definition at line 84 of file Polygon.F90.

References Points2D_class::Points2D_Destroy().

Referenced by Polygon_Init().

integer,public Polygon_class::Polygon_getSize ( type(Polygon),intent(in)  p)
real(kind=xyzk),dimension(:),pointer,public Polygon_class::Polygon_getX ( type(Polygon),intent(in)  p)

Definition at line 134 of file Polygon.F90.

References Polygon_getSize().

Referenced by Polygon_pl2D_Plot(), and Polygon_sortVerts().

real(kind=xyzk),dimension(:),pointer,public Polygon_class::Polygon_getY ( type(Polygon),intent(in)  p)

Definition at line 150 of file Polygon.F90.

References Polygon_getSize().

Referenced by Polygon_pl2D_Plot(), and Polygon_sortVerts().

subroutine,public Polygon_class::Polygon_Init ( type(Polygon),intent(inout)  p,
real(kind=xyzk),dimension(:),intent(in)  xc,
real(kind=xyzk),dimension(:),intent(in)  yc,
logical,intent(in),optional  sorted,
logical,intent(in),optional  closed 
)

Definition at line 100 of file Polygon.F90.

References Points2D_class::Points2D_newFill(), and Polygon_Destroy().

logical,public Polygon_class::Polygon_isClosed ( type(Polygon),intent(inout)  p)
logical,public Polygon_class::Polygon_isSorted ( type(Polygon),intent(inout)  p)

Definition at line 348 of file Polygon.F90.

Referenced by Polygon_Area(), Polygon_Centroid(), Polygon_Print(), and Polygon_sortVerts().

type(Polygon),public Polygon_class::Polygon_New ( integer  n)

Definition at line 67 of file Polygon.F90.

References Points2D_class::Points2D_New().

subroutine,public Polygon_class::Polygon_pl2D_Plot ( type(Polygon)  p,
integer,intent(in),optional  INIT_CONT_END 
)
subroutine,public Polygon_class::Polygon_Print ( type(Polygon)  p)
subroutine,public Polygon_class::Polygon_sortVerts ( type(Polygon),intent(inout)  p)