mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-31 22:47:50 +05:00
correct NPAL 16548
This commit is contained in:
parent
3efdeeeb01
commit
a8b3aeb578
@ -94,7 +94,7 @@ Standard_Integer GEOMImpl_PrismDriver::Execute(TFunction_Logbook& log) const
|
|||||||
aV.Normalize();
|
aV.Normalize();
|
||||||
if (aType == PRISM_BASE_VEC_H_2WAYS) {
|
if (aType == PRISM_BASE_VEC_H_2WAYS) {
|
||||||
gp_Trsf aTrsf;
|
gp_Trsf aTrsf;
|
||||||
aTrsf.SetTranslation( -aV * aCI.GetH() );
|
aTrsf.SetTranslation( (-aV) * aCI.GetH() );
|
||||||
BRepBuilderAPI_Transform aTransformation(aShapeBase, aTrsf, Standard_False);
|
BRepBuilderAPI_Transform aTransformation(aShapeBase, aTrsf, Standard_False);
|
||||||
aShapeBase = aTransformation.Shape();
|
aShapeBase = aTransformation.Shape();
|
||||||
aCI.SetH( aCI.GetH()*2 );
|
aCI.SetH( aCI.GetH()*2 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user