upxo.geoEntities.surface module
3D surface geometric entity for UPXO.
Usage
from upxo.geoEntities.surface import Surface
Classes
Surface : 3D surface representation with meshing and smoothing operations.
Limitations
All methods are stubs awaiting implementation.
- class upxo.geoEntities.surface.Surface[source]
Bases:
objectRepresents a 3D surface in UPXO.
- x
X-coordinates of surface points.
- Type:
array-like
- y
Y-coordinates of surface points.
- Type:
array-like
- z
Z-coordinates of surface points.
- Type:
array-like
- Limitations
- -----------
- - All methods are stubs awaiting implementation.
- shortest_path(point)[source]
Find the shortest geodesic path from a reference point on the surface.
- Parameters:
point (array-like) – Query point coordinates.
- triangulate(point)[source]
Triangulate the surface from the given reference point.
- Parameters:
point (array-like) – Reference point for triangulation.
- distribute_points(n, min_distance=-1)[source]
Distribute
npoints on the surface with optional minimum separation.
- smooth_laplace(niterations)[source]
Apply Laplacian smoothing to the surface.
- Parameters:
niterations (int) – Number of smoothing iterations.
- smooth_taubin(niterations)[source]
Apply Taubin smoothing to the surface.
- Parameters:
niterations (int) – Number of smoothing iterations.
- x
- y
- z