중간점 계산기
두 좌표 사이의 정확한 중간 지점을 찾습니다.
입력하는 동안 결과가 업데이트됩니다.
이 계산기에 대해
the midpoint is the point exactly halfway between two coordinates, this calculator returns the midpoint, its separate x and y components, and the distance between the two points, with a plot showing the segment split in half. This calculator returns the midpoint, its separate x and y components, and the distance between the two points, with a plot showing the segment split in half. For (0, 0) and (4, 6), the midpoint is ((0 + 4) / 2, (0 + 6) / 2) = (
자주 묻는 질문
어떻게 두 점의 중간점을 찾을 수 있습니까?
두 x 좌표와 두 y 좌표의 평균을 각각 산출합니다. (0,0)과 (4,6)의 중간점은 ((0+4)/2, (0+6)/2) = (2, 3)입니다.
중간점이 평균과 동일한가요?
네 — 중간점은 좌표별로 얻은 두 점의 평균입니다.
(0,0)과 (4,6)의 중간점은 무엇입니까?
각 좌표의 평균: ((0 + 4)/2, (0 + 6)/2) = (2, 3), 이 도구가 보여주는 기본 예제.
점 사이의 거리를 보여주나요?
예. 중간점과 함께 계산기는 두 점을 연결하는 세그먼트의 길이를 제공합니다.
중간점에서 끝점을 찾을 수 있습니까?
네, 재배열을 통해서: 만약 M이 중심점이고 A가 알려진 끝점이라면, 다른 끝점은 각 좌표에 적용된 2M − A이다.
중간점은 어느 점이 먼저 오는지에 영향을 받습니까?
좌표의 평균을 얻으려면 두 점을 각각의 순서로 입력하면 같은 중앙점에 도달합니다.
API — 코드에서 이 계산기를 사용
이 계산기를 무료 JSON 엔드포인트로 호출하세요. 키가 필요하지 않습니다. 아래 필드 값을 쿼리 매개 변수 또는 JSON으로 보내십시오. 전체 API 문서 읽기 →
끝점
GET https://calculator.free/api/v1/midpoint/
curl
curl "https://calculator.free/api/v1/midpoint/?x1=0&y1=0&x2=4&y2=6"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/midpoint/?" + new URLSearchParams({
"x1": "0",
"y1": "0",
"x2": "4",
"y2": "6"
}));
const data = await r.json();
console.log(data.results);
결과는 재정, 의료 또는 세금 조언이 아닌 일반적인 지침을위한 추정치입니다.