sample_surface — 3D superquadric op

Data kinds: vectorpoints

Call: import fullseye as fs; fs.ledger.sample_surface(a, eps, n_u: 'int' = 40, n_v: 'int' = 40, R=None, t=None) -> 'np.ndarray' (to call the implementation directly, import superquadric; superquadric.sample_surface(a, eps, n_u: 'int' = 40, n_v: 'int' = 40, R=None, t=None) -> 'np.ndarray'; from the registry, ops3d.get("sample_surface"))

Usage

Sample the surface points of a superquadric parametrically in (eta, omega).

> The detailed description below is the original text — the summary and the headings are translated.

`x = a1 * sgn|cos eta|^eps1 * sgn|cos omega|^eps2` などの符号付きべきで

全 8 象限を張る(eta in [-pi/2, pi/2], omega in [-pi, pi])。生成点は

厳密に `F = 1` を満たす(cos^2+sin^2=1 が指数を打ち消すため)。

Parameters

----------

a, eps : inside_outside と同じ

n_u : omega(経度)方向サンプル数

n_v : eta(緯度)方向サンプル数

R, t : 姿勢(body→world: X_world = R @ X_body + t)

Returns

-------

np.ndarray, shape (n_u*n_v, 3)

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

mesh_lod_downloadpy -3.11 examples_3d/mesh_lod_download.py

superquadric_fitpy -3.11 examples_3d/superquadric_fit.py

Ops the type connects to (they accept points as input)

points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d

Same category (superquadric)

fit_superquadric · inside_outside · superquadric_residual


*Provenance: superquadric.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.