MCPcopy
hub / github.com/lululxvi/deepxde / inside

Method inside

deepxde/geometry/csg.py:28–29  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

26 self.geom2 = geom2
27
28 def inside(self, x):
29 return np.logical_or(self.geom1.inside(x), self.geom2.inside(x))
30
31 def on_boundary(self, x):
32 return np.logical_or(

Callers 15

random_pointsMethod · 0.95
on_boundaryMethod · 0.45
boundary_normalMethod · 0.45
periodic_pointMethod · 0.45
insideMethod · 0.45
on_boundaryMethod · 0.45
boundary_normalMethod · 0.45
random_pointsMethod · 0.45
periodic_pointMethod · 0.45
insideMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected