CODViewport::EdgeHitTest

CODComponent* CODViewport::EdgeHitTest(CPoint ptHit, int& nEdgeIndex)

Returns a pointer to the topmost component whose edges contain the point, or NULL if there is no component whose edges can be hit.

Defined in: OdViewport.cpp

Return Value

A pointer to the component whose edges were hit.

Parameters

ptHit

A point in logical units.

nEdgeIndex

The index of the edge hit.