Beispiel #1
0
        public bool IsIntersect(IGeometry3D other)
        {
            Vector3 closest = new Vector3(
                Math.Max(xMin, Math.Min(other.Center.x, xMax)),
                Math.Max(yMin, Math.Min(other.Center.y, yMax)),
                Math.Max(zMin, Math.Min(other.Center.z, zMax)));

            return(other.InBound(closest));
        }
Beispiel #2
0
 public void AddGeometry(IGeometry3D geom)
 {
     Geometry.Add(geom);
 }