MCPcopy
hub / github.com/CadQuery/cadquery / key

Method key

cadquery/selectors.py:395–396  ·  view source on GitHub ↗
(self, obj: Shape)

Source from the content-addressed store, hash-verified

393 self.direction = vector
394
395 def key(self, obj: Shape) -> float:
396 return obj.Center().dot(self.direction)
397
398
399class DirectionMinMaxSelector(CenterNthSelector):

Callers

nothing calls this directly

Calls 2

dotMethod · 0.80
CenterMethod · 0.45

Tested by

no test coverage detected