public virtual void CalcPointsCoordinates() { if (Stator == null) { throw new ArgumentNullException("StatorParams null"); } if (Rotor == null) { throw new ArgumentNullException("RotorParams null"); } if (Airgap == null) { throw new ArgumentNullException("AirgapParams null"); } Rotor.CalculatePoints(); Stator.CalculatePoints(); Airgap.CalculatePoints(); ListParamsValidation = new List <ParamValidationInfo>(); if (Rotor.ListParamsValidation != null) { ListParamsValidation.AddRange(Rotor.ListParamsValidation); } if (Stator.ListParamsValidation != null) { ListParamsValidation.AddRange(Stator.ListParamsValidation); } isPointsCoordCalculated = true; }