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

  • Home
  • SEARCH
  • 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 3873724
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:04:11+00:00 2026-05-19T22:04:11+00:00

Given two points in a 2D plane, and a circle of radius r that

  • 0

Given two points in a 2D plane, and a circle of radius r that intersects both of those points, what would be the formula to calculate the centre of that circle?

I realise there would two places the circle can be positioned. I would want the circle whose centre is encountered first in a clockwise direction when sweeping the line that joins the two points around one of those points, starting from an arbitrary angle. I guess that is the next stage in my problem, after I find an answer for the first part.

I’m hoping the whole calculation can be done without trigonometry for speed. I’m starting with integer coordinates and will end with integer coordinates, if that helps.

  • 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-19T22:04:12+00:00Added an answer on May 19, 2026 at 10:04 pm

    Not sure if this is the right place to ask this but:

    let:

    q = sqrt((x2-x1)^2 + (y2-y1)^2)
    x3 = (x1+x2)/2
    y3 = (y1+y2)/2
    

    first circle:

    x = x3 + sqrt(r^2-(q/2)^2)*(y1-y2)/q
    y = y3 + sqrt(r^2-(q/2)^2)*(x2-x1)/q  
    

    Second Circle:

    x = x3 - sqrt(r^2-(q/2)^2)*(y1-y2)/q
    y = y3 - sqrt(r^2-(q/2)^2)*(x2-x1)/q  
    

    Here

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

Sidebar

Related Questions

I try to calculate the distance between two points (given the latitude/longitude of those
Given two points in 3D space, A and B, I get a line segment
I have two points in a cathesian 2D system, both give me the start
Given two dates, what is the best method to calculate the number of days
Given two convex polygons in 2D space, how would you go about constructing the
Given a set of points on a plane, find the shortest line segment formed
I need to find the optimal path connecting two planar points. I'm given a
Let assume you have two points (a , b) in a two dimensional plane.
Given 2 point in a 2D plane, how many lattice points lie within these
Is there an algorithm that given two strings yields the degree of equality between

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.