필터 지우기
필터 지우기

I want to know which of the two spaces each point belongs to in a 3-dimensional space divided into two parts by a single plane.

조회 수: 2 (최근 30일)
Suppose there are multiple points in a 3-dimensional space.
If the 3-dimensional space is divided into two by one plane,
We want to know which of the two spaces each point belongs to.
Let the plane be a(x-p)+b(y-q)+c(z-r)=0.
In this case, the point on the plane is P(x,y,z).
Please tell me how to find it.
Thank you in advance.

채택된 답변

Torsten
Torsten 2023년 8월 30일
편집: Torsten 2023년 8월 30일
The two half-spaces that IR^3 is divided in by the plane are a(x-p)+b(y-q)+c(z-r) < 0 and a(x-p)+b(y-q)+c(z-r) > 0.
So for a given point P = (x,y,z), you have to check whether a(x-p)+b(y-q)+c(z-r) < 0 or a(x-p)+b(y-q)+c(z-r) > 0.
  댓글 수: 2
recent works
recent works 2023년 8월 30일
The two half-spaces that IR^3 is divided in by the plane are a(x-p)+b(y-q)+c(z-r) < 0 and a(x-p)+b(y-q)+c(z-r) > 0.
So for a given point P = (x,y,z), you have to check whether a(x-p)+b(y-q)+c(z-r) < 0 or a(x-p)+b(y-q)+c(z-r) > 0.
If the result is less than zero, then the point is in the half-space where a(x-p)+b(y-q)+c(z-r) < 0.
If the result is greater than zero, then the point is in the half-space where a(x-p)+b(y-q)+c(z-r) > 0.
If the result is equal to zero, then the point is on the plane.
Yusaku Ohta
Yusaku Ohta 2023년 8월 30일
This is exactly what I want to know.
It's not a Matlab problem, it's a math problem.
Thank you.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

recent works
recent works 2023년 8월 30일
To find which of the two spaces each point belongs to, you can use the following steps:
  1. Substitute the coordinates of the point into the equation of the plane.
  2. If the result is zero, then the point is on the plane.
  3. If the result is not zero, then the point is not on the plane.
For example, let's say we have the following plane:
a(x-p)+b(y-q)+c(z-r)=0
and the following point:
P(x,y,z)=(1,2,3)
To find which space this point belongs to, we would substitute the coordinates of the point into the equation of the plane.
a(1-p)+b(2-q)+c(3-r)=0
If the result is zero, then the point is on the plane. Otherwise, the point is not on the plane.
In this case, the result is not zero, so the point (1,2,3) is not on the plane.
keep in mind:
  • The equation of the plane can be written in different ways. For example, it can also be written as:
(x-p)/a=(y-q)/b=(z-r)/c=k
where k is a constant.
  • The point on the plane can be any point that satisfies the equation of the plane.
  • The two spaces divided by the plane are called the half-spaces.
  • The point that is exactly on the plane belongs to both half-spaces.

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by