Exemple #1
0
 /// <summary>
 /// Get intersection of line with ellipse.
 /// Returns 'null' (no intersection) or object of type 'Point3d' or 'Segment3d'.
 /// </summary>
 public object IntersectionWith(Ellipse e)
 {
     return(e.IntersectionWith(this));
 }
 /// <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);
 }
 /// <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);
 }
 /// <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);
 }