Ejemplo n.º 1
0
        private void SplitAtJunctions([NotNull] IFeature edgeFeature,
                                      [NotNull] ICollection <IFeature> splittingJunctions)
        {
            _msg.DebugFormat("Splitting {0} by using split junction(s) {1}",
                             GdbObjectUtils.ToString(edgeFeature),
                             StringUtils.Concatenate(splittingJunctions,
                                                     j => GdbObjectUtils.ToString(j), ", "));

            var newEdges =
                LinearNetworkEditUtils.SplitAtJunctions(edgeFeature, splittingJunctions);

            foreach (IFeature newEdge in newEdges)
            {
                NetworkFeatureFinder.TargetFeatureCandidates?.Add(newEdge);
            }
        }