Message 1 of 2
Modify / scale / expand CurveArray

Not applicable
06-24-2015
02:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a CurveArray consisting of at least three lines that surround an area. The lines need to be "connected". It looks like this (the shape can vary, depending on the number of lines):
I want to "expand" the CurveArray, so that the area, that is surrounded, is increased.
Is there an easy way to do this with a CurvedArray?
My CurvedArrays look like this:
CurveArray profile = new CurveArray();
profile.Append(Line.CreateBound(new XYZ(0, 0, 0), new XYZ(10, 0, 0)));
profile.Append(Line.CreateBound(new XYZ(10, 0, 0), new XYZ(10, 10, 0)));
profile.Append(Line.CreateBound(new XYZ(10, 10, 0), new XYZ(0, 10, 0)));
profile.Append(Line.CreateBound(new XYZ(0, 10, 0), new XYZ(0, 0, 0)));
Thanks!