1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0031354: Visualization - Dump improvement for V3d, Graphic3d, Aspect

- do not dump light in view as it's dumped in the viewer
This commit is contained in:
sshutina
2020-02-06 18:17:35 +03:00
committed by bugmaster
parent f0da497005
commit a516227511
72 changed files with 1396 additions and 11 deletions

View File

@@ -30,6 +30,7 @@
#include <gp_XYZ.hxx>
#include <Standard_ConstructionError.hxx>
#include <Standard_DomainError.hxx>
#include <Standard_Dump.hxx>
#include <Standard_OutOfRange.hxx>
Standard_Boolean gp_Vec::IsEqual
@@ -126,3 +127,12 @@ gp_Vec gp_Vec::Mirrored (const gp_Ax2& A2) const
Vres.Mirror (A2);
return Vres;
}
// =======================================================================
// function : DumpJson
// purpose :
// =======================================================================
void gp_Vec::DumpJson (Standard_OStream& theOStream, Standard_Integer) const
{
OCCT_DUMP_VECTOR_CLASS (theOStream, "gp_Vec", 3, coord.X(), coord.Y(), coord.Z())
}

View File

@@ -354,6 +354,9 @@ public:
//! Transforms a vector with the transformation T.
Standard_NODISCARD gp_Vec Transformed (const gp_Trsf& T) const;
//! Dumps the content of me into the stream
Standard_EXPORT void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const;