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); } }
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); }
public bool Equals(EdgeLength other) { return(X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z)); }