fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Provides a container for a 2D Delaunay triangulation. More...
Public Member Functions | |
procedure, public | create d2d_init |
Creates an unconstrained 2D Delaunay triangulation given a set of x-y points. | |
procedure, public | get_point_count d2d_get_pt_count |
Gets the number of points in the triangulation. | |
procedure, public | get_triangle_count d2d_get_tri_count |
Gets the number of triangles in the triangulation. | |
procedure, public | get_points_x d2d_get_x_pts |
Gets the x-coordinates of each point. | |
procedure, public | get_points_y d2d_get_y_pts |
Gets the y-coordinates of each point. | |
procedure, public | get_indices d2d_get_tris |
Gets a list of the indices of each triangle vertex. | |
procedure, public | find_triangle d2d_get_tri_with_pt |
Finds the triangle that contains the specified point. | |
Public Attributes | |
real(real64), dimension(:), allocatable | m_y |
An array of the y-coordinates of each point. | |
integer(int32), dimension(:,:), allocatable | m_indices |
A 3-column matrix containing the indices of each triangle's vertex. | |
Private Attributes | |
real(real64), dimension(:), allocatable | m_x |
An array of the x-coordinates of each point. | |
Provides a container for a 2D Delaunay triangulation.
Definition at line 6765 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::create |
Creates an unconstrained 2D Delaunay triangulation given a set of x-y points.
[in,out] | this | The delaunay_tri_2d object. |
[in] | x | An N-element array containing the x-coordinates of each data point. |
[in] | y | An N-element array containing the y-coordinates of each data point. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Definition at line 6798 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::find_triangle |
Finds the triangle that contains the specified point.
[in] | this | The delaunay_tri_2d object. |
[in] | x | The x-coordinate of the point. |
[in] | y | The y-coordinate of the point. |
Definition at line 6864 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::get_indices |
Gets a list of the indices of each triangle vertex.
[in] | this | The delaunay_tri_2d object. |
Definition at line 6849 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::get_point_count |
Gets the number of points in the triangulation.
[in] | this | The delaunay_tri_2d object. |
Definition at line 6808 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::get_points_x |
Gets the x-coordinates of each point.
[in] | this | The delaunay_tri_2d object. |
Definition at line 6828 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::get_points_y |
Gets the y-coordinates of each point.
[in] | this | The delaunay_tri_2d object. |
Definition at line 6838 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_2d::get_triangle_count |
Gets the number of triangles in the triangulation.
[in] | this | The delaunay_tri_2d object. |
Definition at line 6818 of file fplot_core.f90.
integer(int32), dimension(:,:), allocatable fplot_core::delaunay_tri_2d::m_indices |
A 3-column matrix containing the indices of each triangle's vertex.
Definition at line 6773 of file fplot_core.f90.
|
private |
An array of the x-coordinates of each point.
Definition at line 6768 of file fplot_core.f90.
real(real64), dimension(:), allocatable fplot_core::delaunay_tri_2d::m_y |
An array of the y-coordinates of each point.
Definition at line 6770 of file fplot_core.f90.