mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-31 19:30:34 +05:00
Fix of a polyline on plane (object) construction
This commit is contained in:
parent
b00939610a
commit
3fe24eae8a
@ -128,7 +128,7 @@ Standard_Integer GEOMImpl_PolylineDriver::MakePolyline2D
|
|||||||
gp_Dir aDirX(aPlaneCoords->Value(i + 6), aPlaneCoords->Value(i + 7),
|
gp_Dir aDirX(aPlaneCoords->Value(i + 6), aPlaneCoords->Value(i + 7),
|
||||||
aPlaneCoords->Value(i + 8));
|
aPlaneCoords->Value(i + 8));
|
||||||
aWPlane = gp_Ax3(aOrigin, aDirZ, aDirX);
|
aWPlane = gp_Ax3(aOrigin, aDirZ, aDirX);
|
||||||
} else if (aType == POLYLINE2D_PLN_COORDS) {
|
} else if (aType == POLYLINE2D_PLN_OBJECT) {
|
||||||
Handle(GEOM_Function) aRefFace = aCI.GetWorkingPlane();
|
Handle(GEOM_Function) aRefFace = aCI.GetWorkingPlane();
|
||||||
TopoDS_Shape aShape = aRefFace->GetValue();
|
TopoDS_Shape aShape = aRefFace->GetValue();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user