コード例 #1
0
ファイル: CutAlongToolBase.cs プロジェクト: ProSuite/ProSuite
        protected override List <ResultFeature> ChangeFeaturesAlong(List <Feature> selectedFeatures, IList <Feature> targetFeatures, List <CutSubcurve> cutSubcurves,
                                                                    CancellationToken cancellationToken,
                                                                    out ChangeAlongCurves newChangeAlongCurves)
        {
            var updatedFeatures = MicroserviceClient.ApplyCutLines(
                selectedFeatures, targetFeatures, cutSubcurves,
                cancellationToken, out newChangeAlongCurves);

            return(updatedFeatures);
        }
コード例 #2
0
ファイル: CutAlongToolBase.cs プロジェクト: ProSuite/ProSuite
        protected override ChangeAlongCurves CalculateChangeAlongCurves(IList <Feature> selectedFeatures, IList <Feature> targetFeatures,
                                                                        CancellationToken cancellationToken)
        {
            ChangeAlongCurves result;

            result =
                MicroserviceClient.CalculateCutLines(
                    selectedFeatures, targetFeatures, cancellationToken);

            return(result);
        }