You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
"""
|
|
This type stub file was generated by pyright.
|
|
"""
|
|
|
|
import numpy as np
|
|
from typing import Literal, overload
|
|
from numpy.typing import ArrayLike
|
|
from matplotlib.tri._triangulation import Triangulation
|
|
from matplotlib.tri._triinterpolate import TriInterpolator
|
|
|
|
class TriRefiner:
|
|
def __init__(self, triangulation: Triangulation) -> None:
|
|
...
|
|
|
|
|
|
|
|
class UniformTriRefiner(TriRefiner):
|
|
def __init__(self, triangulation: Triangulation) -> None:
|
|
...
|
|
|
|
@overload
|
|
def refine_triangulation(self, *, return_tri_index: Literal[True], subdiv: int = ...) -> tuple[Triangulation, np.ndarray]:
|
|
...
|
|
|
|
@overload
|
|
def refine_triangulation(self, return_tri_index: Literal[False] = ..., subdiv: int = ...) -> Triangulation:
|
|
...
|
|
|
|
@overload
|
|
def refine_triangulation(self, return_tri_index: bool = ..., subdiv: int = ...) -> tuple[Triangulation, np.ndarray] | Triangulation:
|
|
...
|
|
|
|
def refine_field(self, z: ArrayLike, triinterpolator: TriInterpolator | None = ..., subdiv: int = ...) -> tuple[Triangulation, np.ndarray]:
|
|
...
|
|
|
|
|
|
|