| 383 | auto f1 = TopoDS::Face(ortho_faces.FindKey(2)); |
| 384 | |
| 385 | const Handle(Geom_Surface)& f0_s = BRep_Tool::Surface(f0); |
| 386 | const Handle(Geom_Surface)& f1_s = BRep_Tool::Surface(f1); |
| 387 | |
| 388 | auto p0 = Handle(Geom_Plane)::DownCast(f0_s); |
| 389 | auto p1 = Handle(Geom_Plane)::DownCast(f1_s); |
| 390 | |
| 391 | if (p0.IsNull() || p1.IsNull()) { |
| 392 | return false; |
| 393 | } |
| 394 | |
| 395 | auto dot0 = p0->Location().XYZ().Dot(v.XYZ()); |
| 396 | auto dot1 = p1->Location().XYZ().Dot(v.XYZ()); |
no outgoing calls
no test coverage detected