# point inside paraboloid

This topic is 3630 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

The equation of paraboloid is x^2/a^2 + y^2/b^2 = z/c the radius r and height h is given. How can I determine whether a point p is inside/outside the paraboloid? Would anyone please help me? Thanks a lot in advance.

##### Share on other sites
If you want an exact solution, I'm not sure I can help, but I'll give it a shot.

Is this for an algorithm?

If it is, translate the paraboloid to the origin. Translate the point by the same amount.

If it is assumed that the parabaloid will always be in the positive or negative y direction(up and down), check to see if the distance of a 2D vector consisting of Px and Pz(from the point p) is less than the given radius. If it is greater, return false.

Set up an equation that rearranges the given equation to solve for y.

Then plug in the x and z components of the point p, call them Px and Pz.

This will give you the y value(height if you're using y is up coordinate system) at the x,z location. Just compare Py to the answer to see if it is inside our outside.

##### Share on other sites
Your quadratic equation does not involve r and h. Did you mean that your object is bounded by z <= h?

For the unbounded paraboloid, and assuming c > 0, (x,y,z) is strictly inside the paraboloid when x^2/a^2 + y^2/b^2 < z/c and is strictly outside the paraboloid when x^2/a^2 + y^2/b^2 > z/c.

##### Share on other sites
Thank you very much.

1. 1
2. 2
Rutin
25
3. 3
4. 4
JoeJ
18
5. 5

• 14
• 22
• 11
• 11
• 9
• ### Forum Statistics

• Total Topics
631764
• Total Posts
3002210
×