Share

AcGeLinearEnt2d::overlap

C++

GE_DLLEXPIMPORT Adesk::Boolean overlap(
    const AcGeLinearEnt2d& line, 
    AcGeLinearEnt2d*& overlap, 
    const AcGeTol& tol = AcGeContext::gTol
) const;

Description

Determines if two lines overlap and if so returns the line that coincides with their region of overlap. The returned overlap line may be an object of any derived class of AcGeLinearEnt2d, depending on the types of the two lines. The overlap parameter is created by the new and it is up to the caller to delete it.

The overlap parameter is null if this function returns a value of Adesk::kFalse.

Parameters

Parameters Description
line Input any 2D linear entity
overlap Output linear entity that is coincident with region of overlap
tol Input tolerance

Links

AcGeLinearEnt2d

Was this information helpful?