Center of an underlying circle or ellipse geometry.
(self)
| 2580 | return rv |
| 2581 | |
| 2582 | def arcCenter(self) -> Vector: |
| 2583 | """ |
| 2584 | Center of an underlying circle or ellipse geometry. |
| 2585 | """ |
| 2586 | |
| 2587 | g = self.geomType() |
| 2588 | a = self._geomAdaptor() |
| 2589 | |
| 2590 | if g == "CIRCLE": |
| 2591 | rv = Vector(a.Circle().Position().Location()) |
| 2592 | elif g == "ELLIPSE": |
| 2593 | rv = Vector(a.Ellipse().Position().Location()) |
| 2594 | else: |
| 2595 | raise ValueError(f"{g} has no arc center") |
| 2596 | |
| 2597 | return rv |
| 2598 | |
| 2599 | def trim(self, u0: Real, u1: Real) -> Edge: |
| 2600 | """ |
no test coverage detected