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.
49 lines
1.1 KiB
49 lines
1.1 KiB
1 year ago
|
"""
|
||
|
This type stub file was generated by pyright.
|
||
|
"""
|
||
|
|
||
|
import numpy as np
|
||
|
from matplotlib import _tri
|
||
|
from matplotlib.tri._trifinder import TriFinder
|
||
|
from numpy.typing import ArrayLike
|
||
|
from typing import Any
|
||
|
|
||
|
class Triangulation:
|
||
|
x: np.ndarray
|
||
|
y: np.ndarray
|
||
|
mask: np.ndarray | None
|
||
|
is_delaunay: bool
|
||
|
triangles: np.ndarray
|
||
|
def __init__(self, x: ArrayLike, y: ArrayLike, triangles: ArrayLike | None = ..., mask: ArrayLike | None = ...) -> None:
|
||
|
...
|
||
|
|
||
|
def calculate_plane_coefficients(self, z: ArrayLike) -> np.ndarray:
|
||
|
...
|
||
|
|
||
|
@property
|
||
|
def edges(self) -> np.ndarray:
|
||
|
...
|
||
|
|
||
|
def get_cpp_triangulation(self) -> _tri.Triangulation:
|
||
|
...
|
||
|
|
||
|
def get_masked_triangles(self) -> np.ndarray:
|
||
|
...
|
||
|
|
||
|
@staticmethod
|
||
|
def get_from_args_and_kwargs(*args, **kwargs) -> tuple[Triangulation, tuple[Any, ...], dict[str, Any]]:
|
||
|
...
|
||
|
|
||
|
def get_trifinder(self) -> TriFinder:
|
||
|
...
|
||
|
|
||
|
@property
|
||
|
def neighbors(self) -> np.ndarray:
|
||
|
...
|
||
|
|
||
|
def set_mask(self, mask: None | ArrayLike) -> None:
|
||
|
...
|
||
|
|
||
|
|
||
|
|