_tritools.pyi 402 B

123456789101112
  1. from matplotlib.tri import Triangulation
  2. import numpy as np
  3. class TriAnalyzer:
  4. def __init__(self, triangulation: Triangulation) -> None: ...
  5. @property
  6. def scale_factors(self) -> tuple[float, float]: ...
  7. def circle_ratios(self, rescale: bool = ...) -> np.ndarray: ...
  8. def get_flat_tri_mask(
  9. self, min_circle_ratio: float = ..., rescale: bool = ...
  10. ) -> np.ndarray: ...