| 149 | } |
| 150 | |
| 151 | void PhantomMeshGenerator::tile() { |
| 152 | const size_t dim = m_wire_network->get_dim(); |
| 153 | VectorF bbox_min = m_wire_network->get_bbox_min(); |
| 154 | VectorF bbox_max = m_wire_network->get_bbox_max(); |
| 155 | bbox_min.array() *= 3; |
| 156 | bbox_max.array() *= 3; |
| 157 | |
| 158 | WireTiler tiler(m_wire_network); |
| 159 | tiler.with_parameters(m_parameter_manager); |
| 160 | m_phantom_wires = tiler.tile_with_guide_bbox( |
| 161 | bbox_min, bbox_max, VectorI::Ones(dim) * 3); |
| 162 | m_phantom_wires->center_at_origin(); |
| 163 | |
| 164 | assert(m_phantom_wires->has_attribute("thickness")); |
| 165 | assert(m_phantom_wires->has_attribute("vertex_offset")); |
| 166 | } |
| 167 | |
| 168 | void PhantomMeshGenerator::trim_irrelavent_edges() { |
| 169 | // Relavent edge is edge that have at least 1 end point from the original |
nothing calls this directly
no test coverage detected