mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0025194: It is necessary to orthogonalize transformation matrix in gp_Trsf and gp_Trsf2d classes
1. Method "SetValues()" for gp_Trsf2d class is added. 2. Method Orthogonalize for gp_Trsf2d and gp_Trsf classes was added. 3. Unused arguments from "SetValues()" method for gp_Trsf was deleted. 4. Output of AppParCurves_MultiPoint Dump was corrected. 5. Method of right projected point choosing was corrected in ProjLib package. 6. Some test cases were changed according to their new behavior.
This commit is contained in:
@@ -608,8 +608,7 @@ void BRepFill_LocationLaw::CurvilinearBounds(const Standard_Integer Index,
|
||||
gp_Trsf fila;
|
||||
fila.SetValues(M(1,1), M(1,2), M(1,3), V.X(),
|
||||
M(2,1), M(2,2), M(2,3), V.Y(),
|
||||
M(3,1), M(3,2), M(3,3), V.Z(),
|
||||
1.e-12, 1.e-14);
|
||||
M(3,1), M(3,2), M(3,3), V.Z());
|
||||
//TopLoc_Location Loc(fila);
|
||||
//W.Location(Loc.Multiplied(W.Location()));
|
||||
W = BRepBuilderAPI_Transform(W, fila, Standard_True); //copy
|
||||
|
Reference in New Issue
Block a user