MCPcopy Index your code
hub / github.com/CadQuery/cadquery / __init__

Method __init__

cadquery/selectors.py:385–393  ·  view source on GitHub ↗
(
        self,
        vector: Vector,
        n: int,
        directionMax: bool = True,
        tolerance: float = 0.0001,
    )

Source from the content-addressed store, hash-verified

383 """
384
385 def __init__(
386 self,
387 vector: Vector,
388 n: int,
389 directionMax: bool = True,
390 tolerance: float = 0.0001,
391 ):
392 super().__init__(n, directionMax, tolerance)
393 self.direction = vector
394
395 def key(self, obj: Shape) -> float:
396 return obj.Center().dot(self.direction)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected