Thu, 03/17/2016 - 19:24
Forums:
Just found this:
Standard_Boolean Geom_TrimmedCurve::IsPeriodic () const
{
//return basisCurve->IsPeriodic();
return Standard_False;
}
What is the reason for that implementation? Shouldn't it
return basisCurve->IsPeriodic() && uTrim1 == basisCurve->FirstParameter() && uTrim2 == basisCurve->LastParameter();
?
Thu, 03/17/2016 - 19:47
Rather this:
return basisCurve->IsPeriodic() && Abs (uTrim2 - uTrim1 - Period()) < Precision::PConfusion();
to account for trims not aligned with natural bounds but still taking entire period.
Thu, 03/17/2016 - 21:15
Yes. :)
Wed, 03/23/2016 - 16:27
@OpenCASCADE team: isn't this a major issue? This could cause really strange bugs in my opinion, any comments on this? Or do I misunderstand something?