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 825225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:13:16+00:00 2026-05-15T03:13:16+00:00

I have two points and I want to know the line which is joining

  • 0

I have two points and I want to know the line which is joining them.
I don’t want to draw the line.

I want to create a matrix with all the points which formed the line.

In the future, I want to solve if two points belong or not to a shape. And this is the first part.

EDIT: Thanks to everyone!! I’ve solved my doubts!
I have to apply the equation of the straight line!

Thanks again!

  • 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-05-15T03:13:16+00:00Added an answer on May 15, 2026 at 3:13 am

    y = y1 + ((y2 – y1)/(x2 – x1))*(x – x1)

    with the usual caveats for avoiding division by 0

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Latitude and Longitude of two points and Want to Draw line between
I have a program where I want to draw a line between two points.
Basically I have two 2D points and there is a line between them. A
i have two points in 3D space which have X-coordinates with different signum. so
I have the following code which lets the user plot two points on a
I have: axis-aligned rectangle R ; non-vertical line A (specified by two points); vertical
I need to paint the line which links two points. I am doing it,
I have two lines: Line1 and Line2. Each line is defined by two points
I want to know the key points, which one should keep in mind while
I have two classes that don't know anything about themselfs class A, class B.

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.