public void HeaderToBinaryTests()
        {
            var b3dmHeader = new B3dmHeader {
                ByteLength = 2952
            };
            var binary = b3dmHeader.AsBinary();

            Assert.IsTrue(binary.Length == 28);
        }
Beispiel #2
0
 public B3dm()
 {
     B3dmHeader         = new B3dmHeader();
     FeatureTableJson   = string.Empty;
     BatchTableJson     = string.Empty;
     FeatureTableJson   = "{\"BATCH_LENGTH\":0}  ";
     FeatureTableBinary = new byte[0];
     BatchTableBinary   = new byte[0];
 }