Linear Interpolation to Find Z Value in Quadrilateral

  • Context: Undergrad 
  • Thread starter Thread starter Cummings
  • Start date Start date
  • Tags Tags
    Interpolation Linear
Click For Summary
SUMMARY

The discussion focuses on using linear interpolation to determine the Z value at a specific point within a quadrilateral defined by four known points with X, Y, and Z coordinates. The quadrilateral is assumed to be 'squareish', with points provided in clockwise order. The proposed method involves calculating line equations for the quadrilateral and finding intersections to interpolate the Z value. However, it is emphasized that if the point coincides with a known value, that value should be used directly. The discussion highlights the importance of understanding the surface shape for accurate interpolation.

PREREQUISITES
  • Understanding of linear interpolation techniques
  • Familiarity with coordinate geometry and line equations
  • Knowledge of three-dimensional space concepts
  • Basic mathematical skills for plane equation calculations
NEXT STEPS
  • Research "Linear Interpolation in 3D" for detailed methodologies
  • Learn about "Plane Equations in 3D Geometry" for surface calculations
  • Explore "Bilinear Interpolation" for handling quadrilateral surfaces
  • Investigate "Surface Fitting Techniques" for complex Z value distributions
USEFUL FOR

Mathematicians, data analysts, engineers, and anyone involved in computational geometry or surface modeling will benefit from this discussion.

Cummings
Messages
53
Reaction score
0
I have a problem where I need to work out a value of a specific point that lies in the quadrilateral that is formed by four separate points.

For each point that makes up the quadrilateral, I know the X and Y coordinates and their value, Z. For the point I am trying to find the value for, I only know the X and Y coordinates.

I want to use linear interpolation to determine the value at that point, yet am not sure of the best mathematical technique to do it. For simplicity, I can assume that the quadrilateral is, for lack of a better term, 'squareish' - no inner angle is more than 180 degrees. The four points are also given in clockwise order.

I have thought about using some simple line equations to do this, where I take the point and find the equation of the line that passes through one of the quadrilateral points. I then find the equations of the lines that form the quadrilateral and find the point where the original line intersects with one of the quadrilateral lines. I can interpolate the value at this point and then use that interpolated value to interpolate the value at the point I need.

Would this technique work or is there a better one. The most important aspect is that if the point lies on a known value, it takes that value. For all other points, it needs to be interpolated.

I appreciate your time.
 
Last edited by a moderator:
Mathematics news on Phys.org
As I understand it, there is a surface in three dimensional spaces which contains the quadrilateral. The crucial point are not the angles, but the shape of the surface. In case it is flat you can simply calculate the plane equation and evaluate it at the given inner point. In any other case the surface could be quite arbitrary and additional information is needed about how the ##z-##values are distributed.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
16K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 23 ·
Replies
23
Views
9K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
12K