[Numpy-discussion] Creating parallel curves
Charles R Harris
Sun Feb 12 14:00:58 CST 2012
On Fri, Feb 10, 2012 at 9:38 AM, Andrea Gavana <firstname.lastname@example.org>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...
More information about the NumPy-Discussion