Class SphericalPolygonsSetTransferObject

  • All Implemented Interfaces:
    Serializable

    public class SphericalPolygonsSetTransferObject
    extends Object
    implements Serializable
    Transfer object for serializing SphericalPolygonsSet instances.

    This object is intended to be used when SphericalPolygonsSet instances needs to be serialized. Instead of serializing the zone, an instance of this class is created from the zone and serialized. Then upon de-serialization, the zone can be rebuilt, typically from a readResolve method.

    Since:
    7.1
    Author:
    Luc Maisonobe
    See Also:
    Serialized Form
    • Constructor Detail

      • SphericalPolygonsSetTransferObject

        public SphericalPolygonsSetTransferObject​(org.hipparchus.geometry.spherical.twod.SphericalPolygonsSet zone)
        Simple constructor.
        Parameters:
        zone - zone to serialize
    • Method Detail

      • rebuildZone

        public org.hipparchus.geometry.spherical.twod.SphericalPolygonsSet rebuildZone()
        Rebuild the zone from saved data.
        Returns:
        rebuilt zone