Ejemplo n.º 1
0
        public TaggedLinesSimplifier(double tolerance)
        {
            if (tolerance < 0.0)
            {
                throw new ArgumentException("Tolerance must be non-negative");
            }

            inputIndex        = new LineSegmentIndex();
            outputIndex       = new LineSegmentIndex();
            distanceTolerance = tolerance;
        }
 public TaggedLineStringSimplifier(LineSegmentIndex inputIndex,
                                   LineSegmentIndex outputIndex)
 {
     this.inputIndex  = inputIndex;
     this.outputIndex = outputIndex;
 }
Ejemplo n.º 3
0
 public TaggedLinesSimplifier()
 {
     inputIndex  = new LineSegmentIndex();
     outputIndex = new LineSegmentIndex();
 }
 public TaggedLineStringSimplifier()
 {
     this.inputIndex  = new LineSegmentIndex();
     this.outputIndex = new LineSegmentIndex();
 }