public static bool Intersect(System.Drawing.RectangleF a, MetaBoundingBox b, out object intersection)
 {
     intersection = null;
     return Common.SpatialRelation.Relation(a, b.GetBoundingBox(content).Value) != Common.RSpatialRelation.Outside;
 }
 public static bool Intersect(Ray r, MetaBoundingBox b, out object intersection)
 {
     return Common.Intersection.Intersect(b.GetBoundingBox(content).Value, r, out intersection);
 }
 public static bool Intersect(Common.Bounding.Cylinder a, MetaBoundingBox b, out object intersection)
 {
     return Common.Intersection.Intersect(a, b.GetBoundingBox(content).Value, out intersection);
 }
Exemplo n.º 4
0
 public static float Radius(MetaBoundingBox bounding)
 {
     return Common.Boundings.Radius(bounding.GetBoundingBox(content).Value);
 }
        // ----------------------------------------------------------------------------------------------
        // -- MetaBoundingBox ---------------------------------------------------------------------------
        // ----------------------------------------------------------------------------------------------


        public static bool Intersect(BoundingBox a, MetaBoundingBox b, out object intersection)
        {
            intersection = null;
            return BoundingBox.Intersects(a, b.GetBoundingBox(content).Value);
        }
Exemplo n.º 6
0
 public static bool Intersect(System.Drawing.RectangleF a, MetaBoundingBox b, out object intersection)
 {
     intersection = null;
     return(Common.SpatialRelation.Relation(a, b.GetBoundingBox(content).Value) != Common.RSpatialRelation.Outside);
 }
Exemplo n.º 7
0
 public static BoundingBox BoundingToBox(MetaBoundingBox bounding)
 {
     return bounding.GetBoundingBox(content).Value;
 }
Exemplo n.º 8
0
 public static bool Intersect(Ray r, MetaBoundingBox b, out object intersection)
 {
     return(Common.Intersection.Intersect(b.GetBoundingBox(content).Value, r, out intersection));
 }
Exemplo n.º 9
0
 public static bool Intersect(Common.Bounding.Cylinder a, MetaBoundingBox b, out object intersection)
 {
     return(Common.Intersection.Intersect(a, b.GetBoundingBox(content).Value, out intersection));
 }
Exemplo n.º 10
0
        // ----------------------------------------------------------------------------------------------
        // -- MetaBoundingBox ---------------------------------------------------------------------------
        // ----------------------------------------------------------------------------------------------


        public static bool Intersect(BoundingBox a, MetaBoundingBox b, out object intersection)
        {
            intersection = null;
            return(BoundingBox.Intersects(a, b.GetBoundingBox(content).Value));
        }
 public static Common.RSpatialRelation Relation(RectangleF a, MetaBoundingBox b)
 {
     return(Common.SpatialRelation.Relation(a, b.GetBoundingBox(content).Value));
 }
Exemplo n.º 12
0
 public static float Radius(MetaBoundingBox bounding)
 {
     return(Common.Boundings.Radius(bounding.GetBoundingBox(content).Value));
 }
Exemplo n.º 13
0
 public static BoundingBox BoundingToBox(MetaBoundingBox bounding)
 {
     return(bounding.GetBoundingBox(content).Value);
 }
 public static Common.RSpatialRelation Relation(RectangleF a, MetaBoundingBox b)
 {
     return Common.SpatialRelation.Relation(a, b.GetBoundingBox(content).Value);
 }