public static bool TryParse(string source, out Line result) { bool validParse = NumberTools.ParseVectorAndNumber(source, out result.Normal, out result.D); if (validParse) { return(true); } result = Zero; return(false); }
public static bool TryParse(string source, out BoundingCircle result) { bool validParse = NumberTools.ParseVectorAndNumber(source, out result.Center, out result.Radius); if (validParse) { return(true); } result = Zero; return(false); }