Esempio n. 1
0
 public static void Serialize(EdgeLength instance, global::Improbable.Worker.CInterop.SchemaObject obj)
 {
     {
         obj.AddDouble(1, instance.X);
     }
     {
         obj.AddDouble(2, instance.Y);
     }
     {
         obj.AddDouble(3, instance.Z);
     }
 }
Esempio n. 2
0
            public static EdgeLength Deserialize(global::Improbable.Worker.CInterop.SchemaObject obj)
            {
                var instance = new EdgeLength();

                {
                    instance.X = obj.GetDouble(1);
                }
                {
                    instance.Y = obj.GetDouble(2);
                }
                {
                    instance.Z = obj.GetDouble(3);
                }
                return(instance);
            }
Esempio n. 3
0
 public bool Equals(EdgeLength other)
 {
     return(X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z));
 }