[Numpy-discussion] Creating parallel curves

Charles R Harris charlesr.harris@gmail....
Sun Feb 12 14:00:58 CST 2012

On Fri, Feb 10, 2012 at 9:38 AM, Andrea Gavana <andrea.gavana@gmail.com>wrote:

> Hi All,
>    my apologies for my deep ignorance about math stuff; I guess I
> should be able to find this out but I keep getting impossible results.
> Basically I have a set of x, y data (around 1,000 elements each) and I
> want to create 2 parallel "curves" (offset curves) to the original
> one; "parallel" means curves which are displaced from the base curve
> by a constant offset, either positive or negative, in the direction of
> the curve's normal. Something like this:
Note that curves produced in this way aren't actually 'parallel' and can
even cross themselves.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120212/4ba41dea/attachment.html 

More information about the NumPy-Discussion mailing list