Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test
Method
test
cadquery/selectors.py:258–259 ·
view source on GitHub ↗
(self, vec: Vector)
Source
from the content-addressed store, hash-verified
256
""
"
257
258
def
test(self, vec: Vector) -> bool:
259
return
abs(self.direction.getAngle(vec) - math.pi / 2) < self.tolerance
260
261
262
class
TypeSelector(Selector):
Callers
nothing calls this directly
Calls
1
getAngle
Method · 0.80
Tested by
no test coverage detected