lcPlineGetSeg Home

Finds the polyline segment which goes near the specified point.

 HANDLE lcPlineGetSeg (
   HANDLE hPline,
   double X,
   double Y,
   double Delta
 );

Parameters
hPline
  Handle to a polyline object.
X Y
  The target point.
Delta
  Defines the selecting square around the X,Y point.

Return Value

  Handle to a vertex or NULL if the polyline don't go near the specified point.
The returned vertex is the start vertex of the touched segment.

See Also

  Code sample,   lcPlineGetVerPt