+ Reply to Thread
Results 1 to 4 of 4

What is the distance of a point to the best-fit plane defined by a cloud of points?

  1. #1
    Registered User
    Join Date
    11-01-2013
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    4

    What is the distance of a point to the best-fit plane defined by a cloud of points?

    Hi Forum ,

    I down loaded an excel sheet from shg . which is very good for calculation the distance of a point to the best-fit plane defined by a cloud of points
    Could anyone help to code it by using vba?

    Thanks in advance

    -m

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: What is the distance of a point to the best-fit plane defined by a cloud of points?

    the calculations from the worksheet can be simply replicated (not optimized for VBA just coded in VBA what has been done as worksheet functions) with such VBA function:
    Please Login or Register  to view this content.
    You may use it within other pieces of code for instance
    Please Login or Register  to view this content.
    or directly in the worksheet as for instance:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    11-01-2013
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: What is the distance of a point to the best-fit plane defined by a cloud of points?

    Thanks Kaper for the help
    Much appreciate it !!!
    -m

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: What is the distance of a point to the best-fit plane defined by a cloud of points?

    Glad to hear so.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that on our forum you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Z-distance of 3D points to a plane through 3 3D-points
    By GHK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2021, 03:39 PM
  2. Replies: 2
    Last Post: 11-07-2019, 02:53 PM
  3. [SOLVED] Formula for determining if point A on a 2D plane is within radius X of point B
    By EvoDE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2018, 09:59 PM
  4. Find normal coefficients for a best fit plane to a point cloud
    By tmfarey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-29-2014, 06:08 PM
  5. [SOLVED] Calculating distance between many GPS points and sorting by distance
    By jackalek in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-14-2014, 08:27 AM
  6. [SOLVED] Get Point intersection between vertical plane ('ZY') and 3d line
    By thomasaxn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 09:41 AM
  7. Replies: 1
    Last Post: 11-05-2009, 04:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1