MCPcopy Create free account
hub / github.com/CadQuery/cadquery / Center

Method Center

cadquery/occ_impl/shapes.py:2024–2028  ·  view source on GitHub ↗

The center of a vertex is itself!

(self)

Source from the content-addressed store, hash-verified

2022 return (geom_point.X(), geom_point.Y(), geom_point.Z())
2023
2024 def Center(self) -> Vector:
2025 """
2026 The center of a vertex is itself!
2027 """
2028 return Vector(self.toTuple())
2029
2030 @classmethod
2031 def makeVertex(cls, x: float, y: float, z: float) -> Vertex:

Callers

nothing calls this directly

Calls 2

toTupleMethod · 0.95
VectorClass · 0.85

Tested by

no test coverage detected