PDA

View Full Version : How to offset a curve in VBA



kato01
03-14-2020, 07:46 AM
Hello,

I need a curve offset VBA routine.
Say I have a curve C1 defined by a series of [x,y] points. I need to generate another series of point that describe the offset curve C1 by a quantity "d". Something similar to what is shown in the picture attached
Any ideas?

Thank you
https://www.excelforum.com/attachments/excel-programming-vba-macros/667338d1584196912-need-a-curve-offset-routine-offset_curve.png

Paul_Hossler
03-14-2020, 08:03 AM
1. No picture

2. A workbook with representative [x,y] points would be better

3. Why not just add "d" to each of the x's and y's?