TedChirvasiu
New member
- Joined
- Jun 29, 2013
- Messages
- 6
Hello guys!
How may I get the length of the segment of the hyperbola defined by 2 points (of known 3d position) on a cone?



What would be an elegant way to do it? I did it in a very sloppy way by breaking the section of the hyperbola into 2 halves (if they're on 2 different halves of the cone) and then integrating them. The code is working but it is quite slow since it uses quite a few logical operators.
I know the radius and height of the cone, I know the position of the 2 points too... All I need is the length of the segment.
The points are projected by a line from the bottom view. So they always form a hyperbola (except for the case when the line goes straight through the center of the cone).
I couldn't really find anything extremely useful on the web so far.
Please, I would appreciate anything. Any form or documentation or explanation. I'm new to this stuff and the hyperbolic trigonometric functions kinda confuse me.
Thank you!
How may I get the length of the segment of the hyperbola defined by 2 points (of known 3d position) on a cone?



What would be an elegant way to do it? I did it in a very sloppy way by breaking the section of the hyperbola into 2 halves (if they're on 2 different halves of the cone) and then integrating them. The code is working but it is quite slow since it uses quite a few logical operators.
I know the radius and height of the cone, I know the position of the 2 points too... All I need is the length of the segment.
The points are projected by a line from the bottom view. So they always form a hyperbola (except for the case when the line goes straight through the center of the cone).
I couldn't really find anything extremely useful on the web so far.
Please, I would appreciate anything. Any form or documentation or explanation. I'm new to this stuff and the hyperbolic trigonometric functions kinda confuse me.
Thank you!
Last edited: