Complete the polyhedron structure
More...
◆ cg3_complete_polyhedron_structure()
pure subroutine, public mod_cg3_complete_polyhedron_structure::cg3_complete_polyhedron_structure |
( |
type(t_polyhedron), intent(inout) | polyhedron, |
|
|
integer, intent(out) | error_id ) |
Generate the polyhedron connectivies from face and vertices connectivities.
- Check if the polyhedron is a 2-manifold with no boundary (error_id = 1)
- Check if every faces has non-zero area (error_id = 2)
- Check if every edges has non-zero length (error_id = 3)
- Parameters
-
[in,out] | polyhedron | any polyhedron with incomplete structure |
[out] | error_id | > 0 if an error occurs. 0 otherwise. |