Пример #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));
 }
Пример #2
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);
 }
Пример #3
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);
 }
Пример #4
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);
 }