コード例 #1
0
        //--------------------------------------------------------------------------------------------------

        internal void OnViewRotated(Dictionary <int, Pnt2d> points, Dictionary <int, SketchSegment> segments)
        {
            _MarkerCounts.Clear();
            ConstraintElements.ForEach(cc => cc.OnViewRotated(points, segments, _MarkerCounts));
            _SketchEditorTool.WorkspaceController.Invalidate();
        }
コード例 #2
0
        //--------------------------------------------------------------------------------------------------

        public void Activate(bool points, bool segments, bool constraints)
        {
            PointElements.ForEach(p => p.Activate(points));
            SegmentElements.ForEach(s => s.Activate(segments));
            ConstraintElements.ForEach(c => c.Activate(constraints));
        }