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

The Archive Base Latest Questions

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

I have 2 points P1 and P2 . I need to find the P3

  • 0

I have 2 points P1 and P2. I need to find the P3, in order that

  • all points to be on the same line;
  • P3 should be at the distance d from the P2 (away from P1)

I started a complicated system apparently hardly to resolve…
alt text

PS.

Vectorial answers is cool, but I use C# and don’t know how to add vectors over there.

  • 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-18T07:13:16+00:00Added an answer on May 18, 2026 at 7:13 am
    P3 = P2 + d * ±(P2 - P1) / |P2 - P1|
    

    EDIT:

    Because shopping is easy:

    mag = sqrt((P2x - P1x) ** 2 + (P2y - P1y) ** 2)
    P3x = P2x + d * (P2x - P1x) / mag
    P3y = P2y + d * (P2y - P1y) / mag
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have different urls that points to the same code www.url1.com www.url2.com I need
I have a ray, I need to find the closest line segment that it
I have two points at the end of a line. I need to get
Suppose I have 10 points. I know the distance between each point. I need
I have 3 points (A, B and X) and a distance (d). I need
I have a JSON multi-level response that I need to deserialize and from the
recently we started a proyect where we need to implement a webpage that should
For example, I have points Y X 100 50 90 43 80 32 need
I have 2d-points (x,y) with float coordinates, when I draw them, I need to
I have a point in a rectangle that I need to rotate an arbitrary

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.