Thu, 10/30/2008 - 16:47
Hi All,
I'm trying to project a EDGE on a SHELL using BRepAlgo_NormalProjection.
banpProjector.Init(tdsfTempShell);
banpProjector.Add(tdseTempEdge);
banpProjector.Compute3d(Standard_True);
banpProjector.SetLimit(Standard_True);
banpProjector.SetParams(0.001, 0.001, GeomAbs_CN, 90.0, 100.0);
banpProjector.Build();
I debugged this code and realized the error happens in AdvApprox_ApproxAFunction::Perform because I passed GeomAbs_CN (see below code from AdvApprox_ApproxAFunction::Perform)
switch (myContinuity) {
case GeomAbs_C0:
ContinuityOrder = 0 ;
break ;
case GeomAbs_C1:
ContinuityOrder = 1 ;
break ;
case GeomAbs_C2:
ContinuityOrder = 2 ;
break ;
default:
Standard_ConstructionError::Raise();
Ok. But when I try to pass GeomAbs_C2 instead of GeomAbs_CN I got a CRASH in PrepareEval (from BSplSLib file).
Someone could help me with this issue? What should I do?
Thanks in Advance!
Regards,
Mon, 11/03/2008 - 20:34
Please! Nobody?
Thanks in Advance,
Regards!