Spherical Product
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the superquadrics or super-quadrics (also superquadratics) are a family of geometric shapes defined by formulas that resemble those of
ellipsoid An ellipsoid is a surface that may be obtained from a sphere by deforming it by means of directional scalings, or more generally, of an affine transformation. An ellipsoid is a quadric surface;  that is, a surface that may be defined as the ...
s and other quadrics, except that the squaring operations are replaced by arbitrary powers. They can be seen as the three-dimensional relatives of the
superellipse A superellipse, also known as a Lamé curve after Gabriel Lamé, is a closed curve resembling the ellipse, retaining the geometric features of semi-major axis and semi-minor axis, and symmetry about them, but a different overall shape. In the ...
s. The term may refer to the solid object or to its surface, depending on the context. The equations below specify the surface; the solid is specified by replacing the equality signs by less-than-or-equal signs. The superquadrics include many shapes that resemble
cube In geometry, a cube is a three-dimensional solid object bounded by six square faces, facets or sides, with three meeting at each vertex. Viewed from a corner it is a hexagon and its net is usually depicted as a cross. The cube is the only r ...
s, octahedra,
cylinders A cylinder (from ) has traditionally been a three-dimensional solid, one of the most basic of curvilinear geometric shapes. In elementary geometry, it is considered a prism with a circle as its base. A cylinder may also be defined as an infini ...
, lozenges and spindles, with rounded or sharp corners. Because of their flexibility and relative simplicity, they are popular geometric modeling tools, especially in computer graphics. Some authors, such as Alan Barr, define "superquadrics" as including both the superellipsoids and the supertoroids.Alan H. Barr (1992), ''Rigid Physically Based Superquadrics''. Chapter III.8 of ''Graphics Gems III'', edited by D. Kirk, pp. 137–159 However, the (proper) supertoroids are not superquadrics as defined above; and, while some superquadrics are superellipsoids, neither family is contained in the other. Comprehensive coverage of geometrical properties of superquadrics and a method of their recovery from
range image Range imaging is the name for a collection of techniques that are used to produce a 2D image showing the distance to points in a scene from a specific point, normally associated with some type of sensor device. The resulting range image has pix ...
s is covered in a monograph.Aleš Jaklič, Aleš Leonardis, Franc Solina (2000) ''Segmentation and Recovery of Superquadrics''. Kluwer Academic Publishers, Dordrecht


Formulas


Implicit equation

The surface of the basic superquadric is given by : \left, x\^r + \left, y\^s + \left, z\^t =1 where ''r'', ''s'', and ''t'' are positive real numbers that determine the main features of the superquadric. Namely: * less than 1: a pointy octahedron modified to have concave faces and sharp
edges Edge or EDGE may refer to: Technology Computing * Edge computing, a network load-balancing system * Edge device, an entry point to a computer network * Adobe Edge, a graphical development application * Microsoft Edge, a web browser developed by ...
. * exactly 1: a regular octahedron. * between 1 and 2: an octahedron modified to have convex faces, blunt edges and blunt corners. * exactly 2: a sphere * greater than 2: a cube modified to have rounded edges and corners. * infinite (in the
limit Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
): a cube Each exponent can be varied independently to obtain combined shapes. For example, if ''r''=''s''=2, and ''t''=4, one obtains a solid of revolution which resembles an ellipsoid with round cross-section but flattened ends. This formula is a special case of the superellipsoid's formula if (and only if) ''r'' = ''s''. If any exponent is allowed to be negative, the shape extends to infinity. Such shapes are sometimes called super-hyperboloids. The basic shape above spans from -1 to +1 along each coordinate axis. The general superquadric is the result of scaling this basic shape by different amounts ''A'', ''B'', ''C'' along each axis. Its general equation is : \left, \frac\^r + \left, \frac\^s + \left, \frac\^t = 1.


Parametric description

Parametric equations in terms of surface parameters ''u'' and ''v'' (equivalent to longitude and latitude if m equals 2) are :\begin x(u,v) &= A g\left(v,\frac\right) g\left(u,\frac\right) \\ y(u,v) &= B g\left(v,\frac\right) f\left(u,\frac\right) \\ z(u,v) &= C f\left(v,\frac\right) \\ & -\frac \le v \le \frac, \quad -\pi \le u < \pi , \end where the auxiliary functions are :\begin f(\omega,m) &= \sgn(\sin \omega) \left, \sin \omega \^m \\ g(\omega,m) &= \sgn(\cos \omega) \left, \cos \omega \^m \end and the
sign function In mathematics, the sign function or signum function (from '' signum'', Latin for "sign") is an odd mathematical function that extracts the sign of a real number. In mathematical expressions the sign function is often represented as . To avoi ...
sgn(''x'') is : \sgn(x) = \begin -1, & x < 0 \\ 0, & x = 0 \\ +1, & x > 0 . \end


Spherical product

Barr introduces the ''spherical product'' which given two plane curves produces a 3D surface. If f(\mu)=\beginf_1(\mu) \\ f_2(\mu)\end,\quad g(\nu)=\beging_1(\nu)\\g_2(\nu)\end are two plane curves then the spherical product is h(\mu,\nu) = f(\mu)\otimes g(\nu) = \begin g_1(\nu)\ f_1(\mu) \\ g_1(\nu)\ f_2(\mu) \\ g_2(\nu) \end This is similar to the typical parametric equation of a sphere: \begin x&=x_+r\sin \theta \;\cos \varphi \\ y&=y_+r\sin \theta \;\sin \varphi \qquad (0\leq \theta \leq \pi ,\;0\leq \varphi <2\pi )\\ z&=z_+r\cos \theta \end which give rise to the name spherical product. Barr uses the spherical product to define quadric surfaces, like
ellipsoid An ellipsoid is a surface that may be obtained from a sphere by deforming it by means of directional scalings, or more generally, of an affine transformation. An ellipsoid is a quadric surface;  that is, a surface that may be defined as the ...
s, and
hyperboloid In geometry, a hyperboloid of revolution, sometimes called a circular hyperboloid, is the surface generated by rotating a hyperbola around one of its principal axes. A hyperboloid is the surface obtained from a hyperboloid of revolution by defo ...
s as well as the torus, superellipsoid, superquadric hyperboloids of one and two sheets, and supertoroids.


Plotting code

The following GNU Octave code generates a mesh approximation of a superquadric: function superquadric(epsilon,a) n = 50; etamax = pi/2; etamin = -pi/2; wmax = pi; wmin = -pi; deta = (etamax-etamin)/n; dw = (wmax-wmin)/n; ,j= meshgrid(1:n+1,1:n+1) eta = etamin + (i-1) * deta; w = wmin + (j-1) * dw; x = a(1) .* sign(cos(eta)) .* abs(cos(eta)).^epsilon(1) .* sign(cos(w)) .* abs(cos(w)).^epsilon(1); y = a(2) .* sign(cos(eta)) .* abs(cos(eta)).^epsilon(2) .* sign(sin(w)) .* abs(sin(w)).^epsilon(2); z = a(3) .* sign(sin(eta)) .* abs(sin(eta)).^epsilon(3); mesh(x,y,z); end


See also

* Superegg


References

{{reflist


External links


Bibliography: SuperQuadric Representations

Superquadric Tensor Glyphs

SuperQuadric Ellipsoids and Toroids, OpenGL Lighting, and Timing

Superquadrics
by Robert Kragler, The Wolfram Demonstrations Project.
Superquadrics in Python
Computer graphics