AcMapTopology:: FindEdge Method
Finds the edge closest to a specified point.
AcMap::EErrCode FindEdge( AcMapTopoFullEdge*& pEdge, double* pDistance, const AcGePoint3d& point );
Parameters |
Description |
pEdge |
Output AcMapTopoFullEdgeedge object. This value points to a copy of the full edge referenced by the found full edge. The caller is responsible for freeing this object. |
pDistance |
Output distance from the point to the nearest edge. The measurement units depend on the current drawing's unit settings. |
point |
Input point. |
Returns
Returns AcMap::EErrCode kOk if successful; otherwise, returns a different error code.
Remarks
In AutoCAD Map, the specified point must be on the edge; the returned distance always is 0.0.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].