예제 #1
0
파일: Evaluator.cs 프로젝트: Kri-Ol/RBF
        public Evaluator(Point3f[] points, InOut[] inout)
        {
            _points = points;
            _len    = _points.Length;
            Debug.Assert(_len > 3); // should also check for non-coplanarity

            _inout = inout;
            Debug.Assert(_len <= _inout.Length);

            _bbox = ComputeBBox();
        }
예제 #2
0
파일: BoundingBox.cs 프로젝트: Kri-Ol/RBF
 public bool Equals(BoundingBox value)
 {
     return BoundingBox.Equals(this, value);
 }
예제 #3
0
파일: BoundingBox.cs 프로젝트: Kri-Ol/RBF
 public static bool Equals(BoundingBox a, BoundingBox b)
 {
     return a.Min.Equals(b.Min) &&
            a.Max.Equals(b.Max);
 }