Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Fitting a curve within a triangle

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jun 2010
    Posts
    133

    Fitting a curve within a triangle

    Click image for larger version. 

Name:	image.jpg 
Views:	24 
Size:	5.9 KB 
ID:	968

    I have drawn an ellipsoid which passes through base BC of the triangle. Some part of the ellipsoid is outside the triangle. I want the curve remain inside the triangle. I know ellipsoid is not a solution. How can I modify the curve so that it will pass through the base but will remain inside the triangle ABC? I am not sure whether parabola may help to make front tapered in shape. But how to make it pass through the base? Or any other curve fitting suggestion available?

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2013
    Posts
    4
    Cubic Hermite spline. Set the end points to the vertices of the base, and the slopes parallel with the triangle edges.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jun 2010
    Posts
    133
    Thank you very much for the suggestion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •