|
55 | 55 | "Point3D",
|
56 | 56 | "InternalPoint3D_Array",
|
57 | 57 | "Point3D_Array",
|
| 58 | + "InternalPointND", |
| 59 | + "PointND", |
| 60 | + "InternalPointND_Array", |
| 61 | + "PointND_Array", |
58 | 62 | "Vector2D",
|
59 | 63 | "Vector2D_Array",
|
60 | 64 | "Vector3D",
|
|
301 | 305 | """
|
302 | 306 |
|
303 | 307 | InternalPoint2D_Array: TypeAlias = npt.NDArray[PointDType]
|
304 |
| -"""``shape: (N, 2)`` |
| 308 | +"""``shape: (M, 2)`` |
305 | 309 |
|
306 | 310 | An array of `InternalPoint2D` objects: ``[[float, float], ...]``.
|
307 | 311 |
|
|
311 | 315 | """
|
312 | 316 |
|
313 | 317 | Point2D_Array: TypeAlias = Union[InternalPoint2D_Array, tuple[Point2D, ...]]
|
314 |
| -"""``shape: (N, 2)`` |
| 318 | +"""``shape: (M, 2)`` |
315 | 319 |
|
316 | 320 | An array of `Point2D` objects: ``[[float, float], ...]``.
|
317 | 321 |
|
|
339 | 343 | """
|
340 | 344 |
|
341 | 345 | InternalPoint3D_Array: TypeAlias = npt.NDArray[PointDType]
|
342 |
| -"""``shape: (N, 3)`` |
| 346 | +"""``shape: (M, 3)`` |
343 | 347 |
|
344 | 348 | An array of `Point3D` objects: ``[[float, float, float], ...]``.
|
345 | 349 |
|
|
349 | 353 | """
|
350 | 354 |
|
351 | 355 | Point3D_Array: TypeAlias = Union[InternalPoint3D_Array, tuple[Point3D, ...]]
|
352 |
| -"""``shape: (N, 3)`` |
| 356 | +"""``shape: (M, 3)`` |
353 | 357 |
|
354 | 358 | An array of `Point3D` objects: ``[[float, float, float], ...]``.
|
355 | 359 |
|
356 | 360 | Please refer to the documentation of the function you are using for
|
357 | 361 | further type information.
|
358 | 362 | """
|
359 | 363 |
|
| 364 | +InternalPointND: TypeAlias = npt.NDArray[PointDType] |
| 365 | +"""``shape: (N,)`` |
| 366 | +
|
| 367 | +An N-dimensional point: ``[float, ...]``. |
| 368 | +
|
| 369 | +.. note:: |
| 370 | + This type alias is mostly made available for internal use, and |
| 371 | + only includes the NumPy type. |
| 372 | +""" |
| 373 | + |
| 374 | +PointND: TypeAlias = Union[InternalPointND, tuple[float, ...]] |
| 375 | +"""``shape: (N,)`` |
| 376 | +
|
| 377 | +An N-dimensional point: ``[float, ...]``. |
| 378 | +""" |
| 379 | + |
| 380 | +InternalPointND_Array: TypeAlias = npt.NDArray[PointDType] |
| 381 | +"""``shape: (M, N)`` |
| 382 | +
|
| 383 | +An array of `PointND` objects: ``[[float, ...], ...]``. |
| 384 | +
|
| 385 | +.. note:: |
| 386 | + This type alias is mostly made available for internal use, and |
| 387 | + only includes the NumPy type. |
| 388 | +""" |
| 389 | + |
| 390 | +PointND_Array: TypeAlias = Union[InternalPointND_Array, tuple[PointND, ...]] |
| 391 | +"""``shape: (M, N)`` |
| 392 | +
|
| 393 | +An array of `PointND` objects: ``[[float, ...], ...]``. |
| 394 | +
|
| 395 | +Please refer to the documentation of the function you are using for |
| 396 | +further type information. |
| 397 | +""" |
| 398 | + |
360 | 399 |
|
361 | 400 | """
|
362 | 401 | [CATEGORY]
|
|
0 commit comments