コード例 #1
0
ファイル: Circle3D.cs プロジェクト: maisoui/GeometRi.CSharp
        /// <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));
        }
コード例 #2
0
ファイル: Circle3D.cs プロジェクト: maisoui/GeometRi.CSharp
        /// <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));
        }
コード例 #3
0
ファイル: Circle3D.cs プロジェクト: maisoui/GeometRi.CSharp
        /// <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));
        }
コード例 #4
0
ファイル: Ray3D.cs プロジェクト: vnvizitiu/GeometRi.CSharp
 /// <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));
 }