private KrovakModified(Krovak core, Vector2 falseProjectedOffset, Point2 evaluationPoint, double[] constants) { if (null == core) { throw new ArgumentNullException("core"); } if (null == constants) { throw new ArgumentNullException("constants"); } if (constants.Length != 10) { throw new ArgumentException("10 constants required", "constants"); } Contract.EndContractBlock(); Core = core; FalseProjectedOffset = falseProjectedOffset; EvaluationPoint = evaluationPoint; C1 = constants[0]; C2 = constants[1]; C3 = constants[2]; C4 = constants[3]; C5 = constants[4]; C6 = constants[5]; C7 = constants[6]; C8 = constants[7]; C9 = constants[8]; C10 = constants[9]; }
public KrovakNorth(Krovak core) { if (null == core) { throw new ArgumentNullException("core"); } Contract.EndContractBlock(); Core = core; }
public Inverse(Krovak core) : base(core) { Contract.Requires(core != null); }