MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / intersect

Method intersect

src/model/Surface.cpp:989–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

987 }
988
989 bool Surface_Impl::intersect(Surface& otherSurface) {
990 boost::optional<SurfaceIntersection> intersection = computeIntersection(otherSurface);
991 return intersection.has_value();
992 }
993
994 boost::optional<SurfaceIntersection> Surface_Impl::computeIntersection(Surface& otherSurface) {
995 double tol = 0.01; // 1 cm tolerance

Callers 3

test_SurfMatch_TolFixMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_SurfMatch_TolFixMethod · 0.64
TEST_FFunction · 0.64