| 84 | } |
| 85 | |
| 86 | void SimpleInflator::initialize() { |
| 87 | check_thickness(); |
| 88 | m_end_loops.clear(); |
| 89 | m_vertex_list.clear(); |
| 90 | m_face_list.clear(); |
| 91 | m_face_source_list.clear(); |
| 92 | m_num_vertex_accumulated = 0; |
| 93 | m_aspect_max = 1.0; |
| 94 | |
| 95 | if (!m_wire_network->with_connectivity()) { |
| 96 | m_wire_network->compute_connectivity(); |
| 97 | } |
| 98 | if (!m_wire_network->has_attribute("vertex_min_angle")) { |
| 99 | m_wire_network->add_attribute("vertex_min_angle"); |
| 100 | } |
| 101 | if (!m_wire_network->has_attribute("edge_length")) { |
| 102 | m_wire_network->add_attribute("edge_length"); |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | void SimpleInflator::compute_end_loop_offsets() { |
| 107 | const size_t num_vertices = m_wire_network->get_num_vertices(); |
nothing calls this directly
no test coverage detected