IntersectWithLinearObject Method (IMathEllipArc) Send Feedback
See Also 
NumIntersections[out]
Number of intersections
LinearObject
Linear object that intersects this mathematical elliptical Arc
IntersectionPoint1[out]
Point or null if this mathematical elliptical Arc is nonintersecting
IntersectionPoint2[out]
Point or null if this mathematical elliptical Arc is nonintersecting or the number of intersections = 1
Gets the point where this mathematical elliptical Arc intersects the specified linear object.

Syntax

Visual Basic 
Function IntersectWithLinearObject( _
   ByVal LinearObject As MathLine, _
   ByRef IntersectionPoint1 As MathPoint, _
   ByRef IntersectionPoint2 As MathPoint _
) As System.Integer
C# 
System.int IntersectWithLinearObject( 
   MathLine LinearObject,
   out MathPoint IntersectionPoint1,
   out MathPoint IntersectionPoint2
)
JavaScript 
IntersectWithLinearObject( 
   LinearObject : dsMathLine
) : {
   IntersectionPoint1 : dsMathPoint,
   IntersectionPoint2 : dsMathPoint,
   NumIntersections : Number
}
COM native C++ 
HRESULT IntersectWithLinearObject( 
   IMathLine* LinearObject,
   IMathPoint** IntersectionPoint1,
   IMathPoint** IntersectionPoint2,
   LONG* NumIntersections
) 
C++ 
DSRESULT IntersectWithLinearObject( 
   dsMathLine* LinearObject,
   dsMathPoint** IntersectionPoint1,
   dsMathPoint** IntersectionPoint2,
   long* NumIntersections
) 

Parameters

LinearObject
Linear object that intersects this mathematical elliptical Arc
IntersectionPoint1[out]
Point or null if this mathematical elliptical Arc is nonintersecting
IntersectionPoint2[out]
Point or null if this mathematical elliptical Arc is nonintersecting or the number of intersections = 1
NumIntersections[out] or Return Value
Number of intersections

Example

See the IMathEllipArc examples.
 

See Also

Availability

DraftSight V1R5.0