MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / Handle

Function Handle

src/ifcgeom/kernels/opencascade/boolean_utils.cpp:385–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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());

Callers 15

SetMethod · 0.85
SetObjectMethod · 0.85
GetObjectMethod · 0.85
UpdateMethod · 0.85
SetMethod · 0.85
SetObjectMethod · 0.85
GetObjectMethod · 0.85
buildVBOMethod · 0.85
RenderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected