We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3eebf0f + c33d245 commit 8b2d807Copy full SHA for 8b2d807
src/geode/inspector/topology/brep_blocks_topology.cpp
@@ -260,6 +260,7 @@ namespace
260
absl::Span< const geode::uuid > not_boundary_surfaces )
261
{
262
std::vector< geode::uuid > dangling_surfaces;
263
+ geode::BRepRayTracing ray_tracing{ brep };
264
for( const auto& surface_id : not_boundary_surfaces )
265
266
const auto& surface_mesh = brep.surface( surface_id ).mesh();
@@ -272,8 +273,8 @@ namespace
272
273
bool is_dangling{ true };
274
for( const auto& block : brep.blocks() )
275
- if( geode::is_point_inside_block(
276
- brep, block, polygon_barycenter ) )
+ if( ray_tracing.is_point_inside_block(
277
+ polygon_barycenter, block ) )
278
279
is_dangling = false;
280
break;
0 commit comments