API Reference > OdGe Classes > OdGeLinearEnt2d Class > OdGeLinearEnt2d Methods > OdGeLinearEnt2d::overlap Method
OdGeLinearEnt2d::overlap Method
Syntax
C++
bool overlap(const OdGeLinearEnt2d& line, OdGeLinearEnt2d*& overlap, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGeLinearEnt2d& line 
[in] 2D linear entity with which overlapping is tested.  
OdGeLinearEnt2d*& overlap 
[out] Output linear entity that is coincident with region of overlap  
const OdGeTol& tol = OdGeContext::gTol 
[in] Input tolerance. 

Determines if two lines overlap and if so returns the line that coincides with their region of overlap. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.