public override bool IsValid()
 {
     if (Geometries == null)
     {
         return(false);
     }
     return(Geometries.Count > 0 && Geometries.All(ls => ls.IsValid()));
 }