sgCContour*   sgC2DObject::GetEquidistantContour(double h1, double h2, bool toRound)



Builds an equidistant curve to a flat nonlinear object.



h1 - equidistant curve shift from the start object point

h2 - equidistant curve shift from the end object point

toRound - flag for rounding sharp end points of the equidistant to be build (ignored in the current library version).


Returned value:

Returns the pointer to the created contour or NULL otherwise