Elsevier

Computer-Aided Design

Volume 142, January 2022, 103118
Computer-Aided Design

XMAP: Five-Point Interpolating Map

https://doi.org/10.1016/j.cad.2021.103118Get rights and content

Abstract

Xmap takes the unit square to a subset of a doubly curved surface. It interpolates five control-points, which are the images of the four corners and of the center of that square. Interactive tweaks of control-points produce unsurprising changes in the map. The Xmap is an extension of the BeCOTS map. When the control-points are coplanar, it is an exact generalization of the COTS map. We conjecture that Xmaps may prove useful for designing aesthetically pleasing 3D structures.

Section snippets

Prior art on 3-point and 4-point maps

Let M(x,y) be a map that takes the unit-square domain D=[0,1]2 onto a range R that is the subset of a surface S. A d-point map is controlled by d interpolation-constraints of the form M(xi,yi)=pi, for i{1,2...d}. A map is planar if S is a plane. Planar 3-point maps include the Affine [1] and the Moebius maps. Planar 4-point maps include the perspective [2], the FPI [3], and the COTS [4] maps. Non-planar 4-point maps include the bilinear and the BeCOTS [5] maps. For these,

Planar Xmap

The Xmap satisfies these five constraints: M(0,0)=a, M(1,0)=b, M(1,1)=c, M(0,1)=d, and M(12,12)=e.

It may be defined as follows in terms of similarities. A SAS (Steadily Animated Similarity) [4], Sa,b,c,dt, takes point p to Sa,b,c,dtp=f+mtfp(wt),with m, w, and f computed as follows (from Eq. (8) of [4]). Sa,b,c,d  takes oriented edge ab to oriented edge dc. Hence, m=|dc|/|ab|,w=abdc,f=a+wda,wda/d,where |u| is the norm of u, uv is the angle between u and v, ww is w

Non-planar Xmap

In the non-planar Xmap, the control-points need not be coplanar (Fig. 4).

Since point u (Section 2) lies in the plane through a, e, and c. The parameters of Sa,e,e,c may be computed1 using: mu=|ec|/|ae|,wu=aeec,n=ec×ae̲,f=a+mucos(wu)ae+sin(wu)ae×n, where v̲ denotes the normalized version 1|v|v of v.

Sb,e,e,d may be computed similarly from b, e,

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References (7)

There are more references available in the full text version of this article.

Cited by (1)

This paper has been recommended for acceptance by Giuseppe Patane.

View full text