Files
GroundOrganizer/Geometry/BoundingBox2d.cs
2026-01-06 02:07:18 +03:00

32 lines
634 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Geo
{
[Serializable]
public class BoundingBox2d
{
Point2d min;
Point2d max;
public Point2d Min { get => min; private set => min = value; }
public Point2d Max { get => max; private set => max = value; }
public BoundingBox2d()
{
min = new Point2d();
max = new Point2d();
}
public BoundingBox2d(Point2d minPt, Point2d maxPt)
{
min = minPt;
max = maxPt;
}
}
}