PNT1-PNT2 /2

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • PNT1-PNT2 /2

    Does anyone know how to write a formula to the distance between 2 points and divide by2.
    Kenn


    "The need of the many outweigh the needs of the few."

  • #2
    no but. . .

    You could create a mid-point between the two and then dimension from point1 to midpoint or point 2 to midpoint. This should acheive the same thing, no?

    HTH
    sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

    Comment


    • #3
      assign a variable assign pnt1.x - pnt2.x /2
      generic point for result I think that will work
      sigpic
      if you had soap on a rope it would be tied to yer ankle

      Comment


      • #4
        mmmm.... algebra

        If you are looking for a 3D distance between 2 3D points you're going to have to use someting like:

        "(sqrt ( (pnt1.x-pnt2.x)^2+(pnt1.y-pnt2.y)^2+(pnt1.z-pnt2.z)^2))/2"

        Unless you only needed a 2D distance.
        28 Years, 8 Months, 0 weeks and 1 Days until retirement...

        Comment

        Related Topics

        Collapse

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎