Geometric tools relative to polyhedron
More...
◆ cg3_finalize_polyhedron()
subroutine mod_cg3_polyhedron::cg3_finalize_polyhedron |
( |
type(t_polyhedron), intent(inout) | polyhedron | ) |
|
- Parameters
-
[in,out] | polyhedron | any polyhedron |
◆ cg3_polyhedron_compute_centroid()
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 ) |
- Parameters
-
[in] | polyhedron | any initialized polyhedron |
[out] | volume | volume of the polyhedron |
[out] | centroid | centroid of the polyhedron |
◆ cg3_polyhedron_compute_normals()
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_normals |
( |
type(t_polyhedron), intent(inout) | polyhedron, |
|
|
integer, intent(out) | zero_area_face ) |
- Parameters
-
[in,out] | polyhedron | any polyhedron |
[out] | zero_area_face | contains the face id with zero area. 0 otherwise. |
◆ cg3_polyhedron_compute_tangents()
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_tangents |
( |
type(t_polyhedron), intent(inout) | polyhedron, |
|
|
integer, intent(out) | zero_length_edge ) |
- Parameters
-
[in,out] | polyhedron | any polyhedron |
[out] | zero_length_edge | contains the edge id with zero length. 0 otherwise. |
◆ cg3_polyhedron_compute_volume()
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_compute_volume |
( |
type(t_polyhedron), intent(in) | polyhedron, |
|
|
double precision, intent(out) | volume ) |
- Parameters
-
[in] | polyhedron | any initialized polyhedron |
[out] | volume | volume of the polyhedron |
◆ cg3_polyhedron_move_alloc()
pure subroutine mod_cg3_polyhedron::cg3_polyhedron_move_alloc |
( |
type(t_polyhedron), intent(inout) | polyhedron_source, |
|
|
type(t_polyhedron), intent(inout) | polyhedron_target ) |
- Parameters
-
[in,out] | polyhedron_source | source polyhedron |
[in,out] | polyhedron_target | target polyhedron |
◆ cg3_polyhedron_write_obj_file()
subroutine mod_cg3_polyhedron::cg3_polyhedron_write_obj_file |
( |
type(t_polyhedron), intent(in) | polyhedron, |
|
|
character(len=*), intent(in) | filename ) |
- Parameters
-
[in] | polyhedron | any initialized polyhedron |
[in] | filename | OBJ file name (with extension) |
◆ cg3_polyhedron_write_vtk_file()
subroutine mod_cg3_polyhedron::cg3_polyhedron_write_vtk_file |
( |
type(t_polyhedron), intent(in) | polyhedron, |
|
|
character(len=*), intent(in) | filename ) |
- Parameters
-
[in] | polyhedron | any initialized polyhedron |
[in] | filename | VTK file name (with extension) |