Hi
There are more than simply linear, quadratic and cubic Bezier curves. In fact, as you can have as many control points as you wish, you can have a Bezier curve of any order.
But what I was calling RadialBezierCurve was a kind of strategy, I mean I have an abstract class which knows how to compute a curve, but I still have to choose my control points so I was thinking to create different subclasses whose role is to know what are their control points : - The radial one choose its control points within the same radius as its source and its target. I wanted to create an ortoVertical and an ortoHorizontal whose control points would have been computed differently, so that we could use Bezier curve for regular tree too.
Regards
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
mathieu
can you discuss with igor because he can give also some really nice feedback and ideas? Stef
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
(im not on moose list)
On 19 April 2013 12:27, Stéphane Ducasse <[hidden email]> wrote: > mathieu > > can you discuss with igor because he can give also some really nice feedback > and ideas? > > Stef > > Hi > > > > There are more than simply linear, quadratic and cubic Bezier curves. In > fact, as you can have as many control points as you wish, you can have a > Bezier curve of any order. > Basically N-order bezier curve can be represented by a list of points (number of points defines an order). > But what I was calling RadialBezierCurve was a kind of strategy, I mean I > have an abstract class which knows how to compute a curve, but I still have > to choose my control points so I was thinking to create different subclasses > whose role is to know what are their control points : > > - The radial one choose its control points within the same radius as its > source and its target. > > I wanted to create an ortoVertical and an ortoHorizontal whose control > points would have been computed differently, so that we could use Bezier > curve for regular tree too. > > > Regards > > > Mathieu > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- Best regards, Igor Stasenko. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by MathieuDehouck
There are more than simply linear, quadratic and cubic Bezier curves. In fact, as you can have as many control points as you wish, you can have a Bezier curve of any order. Ok But what I was calling RadialBezierCurve was a kind of strategy, I mean I have an abstract class which knows how to compute a curve, but I still have to choose my control points so I was thinking to create different subclasses whose role is to know what are their control points : Ah ok I wanted to create an ortoVertical and an ortoHorizontal whose control points would have been computed differently, so that we could use Bezier curve for regular tree too. A screenshot of what it looks like: The technical description: http://www.win.tue.nl/~dholten/papers/bundles_infovis.pdf Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |