Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8990811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:35:05+00:00 2026-06-15T22:35:05+00:00

I have some values (bytes) over a plane evenly distributed (the come from real

  • 0

I have some values (bytes) over a plane evenly distributed (the come from real measures) like for instance temperature.
I’m trying to generate the whole surface. But I’m not successful.

The main condition is that the number and position of the points will not be known and that the surface MUST keep the value in the points where is measured and the points in between will be interpolated.

Ideally, if only one point is set the final surface should be a mountain.

By the way, and just in the case that it may help. Im coding it on WPF (C#) and it would nice to not involve heavy libraries or whatever for such an small job

Thanks in advance !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:35:06+00:00Added an answer on June 15, 2026 at 10:35 pm

    The typical way is to build a Delaunay triangulation of the sample set in the domain (a rectangle in your case), then use the triangles found as the surface.


    The delaunay triangulation of a general set of points is defined as the set of triangles whose circumcircles does not contain any other point.

    The trivial algorithm for computing the Delaunay triangulation (pick all triangles to see if any point is within their circumcircle) is O(n^4).

    The incremental algorithm runs in O(n log n) expected time:

    • Generate a triangulation of three points (in your case, four – the corners of the room).
    • For each point
      • add it to the triangulation.
      • for every edge opposite the new point recursively
      • if the edge is not a part of the Delaunay triangulation of the current set of points, flip it.

    The divide and conquer algorithm offers O(n log n) as well, but offers O(n log log n) for some point sets as well.


    Once you have the triangulation, you just need to find the measured value by intersecting a vertical line with the surface:

    • find the triangle ABC on which the point lies.
    • express the point coordinates as A + k(B-A) + l(C-A)
    • then the point value is given as A.value + k(B.value-A.value) + l(C.value-A.value) (treat the triangle as a plane in the [domain x range] space.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some values in a configuration file (XML file) with some values like
I have to transfer some values to be used as commands over the network,
I have some C# code I got from http://bytes.com/topic/c-sharp/answers/572657-net-clipboard-metafiles that copies a cell range
I have a case here that I would like to have some opinions from
I have some values in a dataframe called 'values' ie: Sam Ned Ted Ann
In my C++ application, I have some values that act as codes to represent
I have some default values for testing my code, but for security reasons those
I have some financial values stored as text in a mysql db. the significance
I have some double values I want to convert to a string with this
I have some code that sets up a dictionary with some defualt values for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.