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

Method bounds

cadquery/occ_impl/shapes.py:2090–2096  ·  view source on GitHub ↗

Parametric bounds of the curve.

(self: Mixin1DProtocol)

Source from the content-addressed store, hash-verified

2088 return self.bounds()
2089
2090 def bounds(self: Mixin1DProtocol) -> tuple[float, float]:
2091 """
2092 Parametric bounds of the curve.
2093 """
2094
2095 curve = self._geomAdaptor()
2096 return curve.FirstParameter(), curve.LastParameter()
2097
2098 def startPoint(self: Mixin1DProtocol) -> Vector:
2099 """

Callers 2

_boundsMethod · 0.95
toLocsMethod · 0.45

Calls 1

_geomAdaptorMethod · 0.45

Tested by

no test coverage detected