X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FIGESSolid%2FIGESSolid_ToolCylinder.cxx;h=2fd410d2f54a2b12f8fb2c098dbff2a5879bc4dd;hb=0ebe5b0a7f0b602336d03567cd0074beba4b04a6;hpb=39c8dc708fd076062eb762c47a4e8d2da4365eea diff --git a/src/IGESSolid/IGESSolid_ToolCylinder.cxx b/src/IGESSolid/IGESSolid_ToolCylinder.cxx index 8c72c03a0b..2fd410d2f5 100644 --- a/src/IGESSolid/IGESSolid_ToolCylinder.cxx +++ b/src/IGESSolid/IGESSolid_ToolCylinder.cxx @@ -158,20 +158,19 @@ void IGESSolid_ToolCylinder::OwnCheck void IGESSolid_ToolCylinder::OwnDump (const Handle(IGESSolid_Cylinder)& ent, const IGESData_IGESDumper& /* dumper */, - const Handle(Message_Messenger)& S, const Standard_Integer level) const + Standard_OStream& S, const Standard_Integer level) const { // Standard_Boolean locprint = (ent->HasTransf() && level >=6); // gp_Pnt TCenter = ent->TransformedFaceCenter(); // gp_Dir TAxis = ent->TransformedAxis(); - S << "IGESSolid_Cylinder" << Message_EndLine; - - S << "Height : " << ent->Height() << " "; - S << "Radius : " << ent->Radius() << Message_EndLine; - S << "Center : "; + S << "IGESSolid_Cylinder\n" + << "Height : " << ent->Height() << " " + << "Radius : " << ent->Radius() << "\n" + << "Center : "; IGESData_DumpXYZL(S,level, ent->FaceCenter(), ent->Location()); - S << Message_EndLine << "Axis : "; + S << "\nAxis : "; IGESData_DumpXYZL(S,level, ent->Axis(), ent->VectorLocation()); - S << Message_EndLine; + S << std::endl; }