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; }
public ProfilePosition2(ProfilePosition2 other) { this.pAllign = new PointT(other.pAllign); }