growing a polyline
Posted: 22 Apr 2009, 10:05
Hi,
Can anyone assist with the maths?
I have a polyline (usually closed) that needs to be grown by a specified distance perpendicular to each edge line.
Think of a house plan showing the outside walls. I need to grow this polyline by adding 600mm all round for the roof eaves to get the roof footprint.
My polyline is stored as a set of vertices and is drawn onto the canvas of an underlying sgimage. I need to calculate the new set of vertices.
thanks,
Steve
Can anyone assist with the maths?
I have a polyline (usually closed) that needs to be grown by a specified distance perpendicular to each edge line.
Think of a house plan showing the outside walls. I need to grow this polyline by adding 600mm all round for the roof eaves to get the roof footprint.
My polyline is stored as a set of vertices and is drawn onto the canvas of an underlying sgimage. I need to calculate the new set of vertices.
thanks,
Steve