Implements binary serialization of regions and the kind.

Namespace: Spherical.IO
Assembly: SphericalLib (in SphericalLib.dll) Version: 1.0.5951.32246 (1.0.0.0)

Syntax

C#
public class RegionWriter : BinaryWriter, 
	IDisposable
Visual C++
public ref class RegionWriter : public BinaryWriter, 
	IDisposable
F#
type RegionWriter =  
    class
        inherit BinaryWriter
        interface IDisposable
    end

Examples

An example might look like this
CopyC#
FileStream f = new FileStream("north.bin", FileMode.Create);
RegionWriter w = new RegionWriter(f);
w.Write(new Region(new Halfspace(Cartesian.Zaxis,0,1));

Inheritance Hierarchy

System..::..Object
  System.IO..::..BinaryWriter
    Spherical.IO..::..RegionWriter

See Also