X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FGeom%2FGeom_Ellipse.cxx;h=8e4c7cccbd704fbc9dfc208ccc7c14283c0617c9;hb=bc73b00672a218a1301520a3562ece96f72a679c;hpb=00ea7f2676893c9dd9b31cf1f0a8bcad61416a6a diff --git a/src/Geom/Geom_Ellipse.cxx b/src/Geom/Geom_Ellipse.cxx index f272490102..8e4c7cccbd 100644 --- a/src/Geom/Geom_Ellipse.cxx +++ b/src/Geom/Geom_Ellipse.cxx @@ -343,3 +343,17 @@ void Geom_Ellipse::Transform (const Trsf& T) { minorRadius = minorRadius * Abs(T.ScaleFactor()); pos.Transform(T); } + +//======================================================================= +//function : DumpJson +//purpose : +//======================================================================= +void Geom_Ellipse::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const +{ + OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream) + + OCCT_DUMP_BASE_CLASS (theOStream, theDepth, Geom_Conic) + + OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, majorRadius) + OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, minorRadius) +}