Exemplo n.º 1
0
        private static IGeometry GetErrorGeometry([NotNull] ICurve shape)
        {
            // TODO use envelope if vertex count is too big?
            // return shape.Envelope;

            IPolycurve polycurve = CreateHighLevelCopy(shape);

            const int maxAllowableOffsetFactor = 10;

            polycurve.Weed(maxAllowableOffsetFactor);

            return(polycurve);
        }