Добавьте файлы проекта.
This commit is contained in:
31
Geometry/BoundingBox2d.cs
Normal file
31
Geometry/BoundingBox2d.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user