-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy path_triangulation.pyi
More file actions
33 lines (31 loc) · 1017 Bytes
/
_triangulation.pyi
File metadata and controls
33 lines (31 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from matplotlib import _tri
from matplotlib.tri._trifinder import TriFinder
import numpy as np
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: ...