示例#1
0
        public Profile2(Region crossSection, PointT startPoint, PointT endPoint)
        {
            _crossSection = crossSection;
            StartPoint    = startPoint;
            EndPoint      = endPoint;

            _position = new ProfilePosition2();
            //_position.Parent = this;
            ReferanceLine = new Line(startPoint, endPoint);

            InitializeVectors();
            InitializeView();

            _position.InitializePlanes();

            StartPoint.OnTransformed += NotifyPointChanged;
            EndPoint.OnTransformed   += NotifyPointChanged;
        }
示例#2
0
 public ProfilePosition2(ProfilePosition2 other)
 {
     this.pAllign = new PointT(other.pAllign);
 }