Get X-Y points of spline
Posted: 21 Mar 2013, 17:47
Hi,
I trying to load a spline and read some points on it's surface.
I set NumberOfPartsInSpline to 1000
After this you call ReadCADEntities in your example and it calls ImportSpline().
vSpline->FitCount() returns allways zero
Why NumberOfPartsInSpline doesn't incrace number of points?
How can I calculate some points on spline having control points?
Thank you,
Sergey.
I trying to load a spline and read some points on it's surface.
I set NumberOfPartsInSpline to 1000
Code: Select all
vImg = dynamic_cast<TsgDXFImage *>(Image1->Picture->Graphic);
vImg->Converter->NumberOfPartsInSpline=1000;
Code: Select all
void __fastcall TForm1::ImportSpline(TObject *Sender)
{
int I;
TFPoint P;
TsgDXFVertex *Vertex;
TsgDXFSpline *vSpline = (TsgDXFSpline *)Sender;
if (vSpline->FitCount() > 0)
{
}
Why NumberOfPartsInSpline doesn't incrace number of points?
How can I calculate some points on spline having control points?
Thank you,
Sergey.