
Thu, 02/13/2025 - 07:33
Forums:
There is an issue with transforming Geom_Line.
In theory, having a curve C, transform T, and transformed curve CT (CT = C->Transfored(T)), the following should be true:
T(C(U)) == CT(U)
However, in OCCT, this is not true for some curves (Geom_Line, for example) if T has a scaling component.
Is there any way to fix this?
PS. I see there is a method TransformedParameter, but not all algorithms (if any) use this method, and transform is not stored with the curve.
Thu, 02/13/2025 - 12:13
Please share the sample code how you apply transformation an what do you compare. Or describe you problem with some details at least.