public static bool SetElevation(this AView view, float value) { if (!view.IsAlive()) { return(false); } view.Elevation = value; return(true); }
public static void EnsureId(this AView view) { if (!view.IsAlive()) { return; } if (view.Id == AView.NoId) { view.Id = AView.GenerateViewId(); } }