text: public virtual double ResolveDistErr(SpatialContext ctx, double defaultDistErrPct){if (DistErr != null)return DistErr.Value;double distErrPct = (this.distErrPct ?? defaultDistErrPct);return CalcDistanceFromErrPct(Shape, distErrPct, ctx);}