Question

How can I calculate the points on a 2D grid where the the edges are 4 curved beziers?

(see picture):

alt text http://www.freeimagehosting.net/uploads/f4c4f64d98.gif

Was it helpful?

Solution

You can use a parametric representation to map points from a unit square with corners [1, 1], [-1, 1], [-1, -1], [1, -1] onto the Bezier quad by transforming from one coordinate system to the other by calculating the Jacobean from one to the other.

This article shows you how. It's a common thing to do in finite element analysis, because most modern elements are expressed in terms of shape functions in a parametric space. You have to transform from the parametric to element coordinates using the techniques shown in that article.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top