Data Types | |
type | mod_cg3_polyhedron::t_incidence_matrix |
Definition of an incidence matrix. More... | |
type | mod_cg3_polyhedron::t_polyhedron |
Definition of a 3-dimensional polyhedron. More... | |
Functions/Subroutines | |
subroutine | mod_cg3_polyhedron::cg3_finalize_polyhedron (polyhedron) |
Finalize a polyhedron. More... | |
pure subroutine | mod_cg3_polyhedron::cg3_polyhedron_move_alloc (polyhedron_source, polyhedron_target) |
Move allocation from source to target. More... | |
subroutine | mod_cg3_polyhedron::cg3_polyhedron_write_vtk_file (polyhedron, filename) |
Write a polyhedron to a VTK file. More... | |
subroutine | mod_cg3_polyhedron::cg3_polyhedron_write_obj_file (polyhedron, filename) |
Write a polyhedron to a OBJ Wavefront file. More... | |
pure subroutine | mod_cg3_polyhedron::cg3_polyhedron_compute_volume (polyhedron, volume) |
Compute the volume of a polyhedron. More... | |
pure subroutine | mod_cg3_polyhedron::cg3_polyhedron_compute_centroid (polyhedron, volume, centroid) |
Compute the volume and the centroid of a polyhedron. More... | |
pure subroutine | mod_cg3_polyhedron::cg3_polyhedron_compute_normals (polyhedron, zero_area_face) |
Compute the faces normals of the polyhedron. More... | |
pure subroutine | mod_cg3_polyhedron::cg3_polyhedron_compute_tangents (polyhedron, zero_length_edge) |
Compute the edges tangents of the polyhedron. More... | |
subroutine mod_cg3_polyhedron::cg3_finalize_polyhedron | ( | type(t_polyhedron), intent(inout) | polyhedron | ) |
[in,out] | polyhedron | any polyhedron |
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_centroid | ( | type(t_polyhedron), intent(in) | polyhedron, |
double precision, intent(out) | volume, | ||
double precision, dimension(3), intent(out) | centroid | ||
) |
[in] | polyhedron | any initialized polyhedron |
[out] | volume | volume of the polyhedron |
[out] | centroid | centroid of the polyhedron |
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_normals | ( | type(t_polyhedron), intent(inout) | polyhedron, |
integer, intent(out) | zero_area_face | ||
) |
[in,out] | polyhedron | any polyhedron |
[out] | zero_area_face | contains the face id with zero area. 0 otherwise. |
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_tangents | ( | type(t_polyhedron), intent(inout) | polyhedron, |
integer, intent(out) | zero_length_edge | ||
) |
[in,out] | polyhedron | any polyhedron |
[out] | zero_length_edge | contains the edge id with zero length. 0 otherwise. |
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_volume | ( | type(t_polyhedron), intent(in) | polyhedron, |
double precision, intent(out) | volume | ||
) |
[in] | polyhedron | any initialized polyhedron |
[out] | volume | volume of the polyhedron |
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_move_alloc | ( | type(t_polyhedron), intent(inout) | polyhedron_source, |
type(t_polyhedron), intent(inout) | polyhedron_target | ||
) |
[in,out] | polyhedron_source | source polyhedron |
[in,out] | polyhedron_target | target polyhedron |
subroutine mod_cg3_polyhedron::cg3_polyhedron_write_obj_file | ( | type(t_polyhedron), intent(in) | polyhedron, |
character(len=*), intent(in) | filename | ||
) |
[in] | polyhedron | any initialized polyhedron |
[in] | filename | OBJ file name (with extension) |
subroutine mod_cg3_polyhedron::cg3_polyhedron_write_vtk_file | ( | type(t_polyhedron), intent(in) | polyhedron, |
character(len=*), intent(in) | filename | ||
) |
[in] | polyhedron | any initialized polyhedron |
[in] | filename | VTK file name (with extension) |