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); }
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); }
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 BoundingBox BoundingToBox(MetaBoundingBox bounding) { return bounding.GetBoundingBox(content).Value; }
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)); }
// ---------------------------------------------------------------------------------------------- // -- 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)); }
public static float Radius(MetaBoundingBox bounding) { return(Common.Boundings.Radius(bounding.GetBoundingBox(content).Value)); }
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); }