public double resolveDistErr(SpatialContext ctx, double defaultDistErrPct) {if (distErr != null)return distErr;double distErrPct = (this.distErrPct != null ? this.distErrPct : defaultDistErrPct);return calcDistanceFromErrPct(shape, distErrPct, ctx);}

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