Reputation: 3125
How can I detect if a point is inside a cone or not, in 3D space? will not help because a truncated cone can be a cylinder.
I tried another method which involves too many calculations and is huge.
I'm looking for easier ways to find the presence/absence of a point inside a truncated cone.
Mid point of bottom of the truncated cone -> x,y,z
Mid point of top of the truncated cone -> x, y2, z
BottomRadius = r1
TopRadius = r2
Upvotes: 1
Views: 1577
Reputation: 5017
Sorry for the sloppy formulation but I would proceed as follows:
So two conditions have to be tested
Upvotes: 1
Reputation: 2541
It seems it would be sufficient to test for two conditions, which both must be true:
Seems pretty straightforward, or am I missing something?
Upvotes: 2