예제 #1
0
        public static void BoundingSquare(CurveRelation source)
        {
            var box = source.Geometry.GetBoundingBox(Plane.WorldXY);

            var rect = new Rectangle3d(Plane.WorldXY, box.Min, new Point3d(box.Max.X, box.Min.Y, 0));

            source.Properties.BoundingSquare = rect.ToNurbsCurve();
        }
예제 #2
0
        public static void BoundingBoxProperties(CurveRelation source)
        {
            var box = source.Geometry.GetBoundingBox(Plane.WorldXY);

            source.Properties.BoundingBox = box;
        }
예제 #3
0
 public CurveReview(CurveRelation source)
 {
     Source = source;
 }