Example #1
0
 public CREO_TrimBox_Point(Point_Unit top, Point_Unit down, Point_Unit left, Point_Unit right)
 {
     this.Top   = top;
     this.Down  = down;
     this.Left  = left;
     this.Right = right;
 }
Example #2
0
        public CREO_TrimBox_Point(Point_Unit top, Point_Unit down, Point_Unit left, Point_Unit right)
        {
            this.Top   = top;
            this.Down  = down;
            this.Left  = left;
            this.Right = right;

            this.width = new Point_Unit(Math.Abs(this.Right.Length - this.Left.Length));
            this.high  = new Point_Unit(Math.Abs(this.Top.Length - this.Down.Length));
        }