Ejemplo n.º 1
0
        /// <summary>
        /// Intersection of circle with ray.
        /// Returns 'null' (no intersection) or object of type 'Point3d' or 'Segment3d'.
        /// </summary>
        public object IntersectionWith(Ray3d r)
        {
            Ellipse e = this.ToEllipse;

            return(e.IntersectionWith(r));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Intersection of circle with line.
        /// Returns 'null' (no intersection) or object of type 'Point3d' or 'Segment3d'.
        /// </summary>
        public object IntersectionWith(Line3d l)
        {
            Ellipse e = this.ToEllipse;

            return(e.IntersectionWith(l));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Intersection of circle with segment.
        /// Returns 'null' (no intersection) or object of type 'Point3d' or 'Segment3d'.
        /// </summary>
        public object IntersectionWith(Segment3d s)
        {
            Ellipse e = this.ToEllipse;

            return(e.IntersectionWith(s));
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Get intersection of ray with ellipse.
 /// Returns 'null' (no intersection) or object of type 'Point3d' or 'Segment3d'.
 /// </summary>
 public object IntersectionWith(Ellipse e)
 {
     return(e.IntersectionWith(this));
 }