C++
GE_DLLEXPIMPORT Adesk::Boolean intersectWith( const AcGeLinearEnt2d& line, AcGePoint2d& intPnt, const AcGeTol& tol = AcGeContext::gTol ) const;
Description
Determines if two lines intersect and if so returns their intersection point. The intPnt parameter is set to something meaningful only if this function returns a value of Adesk::kTrue.
Parameters
| Parameters | Description |
|---|---|
| line | Input any 2D linear entity |
| intPnt | Output intersection point between two lines |
| tol | Input tolerance |